public class LdapExpandedAuthenticator extends Object implements Authenticator
| Constructor and Description |
|---|
LdapExpandedAuthenticator() |
LdapExpandedAuthenticator(String url) |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticate(String authorizedName,
String cred)
This function is called from the Security API's GetAuthToken().
|
UddiEntityPublisher |
identify(String authInfo,
String authorizedName,
WebServiceContext ctx) |
void |
init(String url) |
public LdapExpandedAuthenticator()
throws NamingException,
org.apache.commons.configuration.ConfigurationException
NamingExceptionorg.apache.commons.configuration.ConfigurationExceptionpublic LdapExpandedAuthenticator(String url) throws NamingException, org.apache.commons.configuration.ConfigurationException
NamingExceptionorg.apache.commons.configuration.ConfigurationExceptionpublic void init(String url) throws NamingException, org.apache.commons.configuration.ConfigurationException
NamingExceptionorg.apache.commons.configuration.ConfigurationExceptionpublic String authenticate(String authorizedName, String cred) throws AuthenticationException, FatalErrorException
Authenticatorauthenticate in interface AuthenticatorauthorizedName - - userId of the user making the registry requestcred - - some authentical creditial (i.e. a password) which can be used to
authenticate the user.AuthenticationExceptionFatalErrorExceptionpublic UddiEntityPublisher identify(String authInfo, String authorizedName, WebServiceContext ctx) throws AuthenticationException, FatalErrorException
identify in interface AuthenticatorAuthenticationExceptionFatalErrorExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.