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
NamingException
org.apache.commons.configuration.ConfigurationException
public LdapExpandedAuthenticator(String url) throws NamingException, org.apache.commons.configuration.ConfigurationException
NamingException
org.apache.commons.configuration.ConfigurationException
public void init(String url) throws NamingException, org.apache.commons.configuration.ConfigurationException
NamingException
org.apache.commons.configuration.ConfigurationException
public String authenticate(String authorizedName, String cred) throws AuthenticationException, FatalErrorException
Authenticator
authenticate
in interface Authenticator
authorizedName
- - userId of the user making the registry requestcred
- - some authentical creditial (i.e. a password) which can be used to
authenticate the user.AuthenticationException
FatalErrorException
public UddiEntityPublisher identify(String authInfo, String authorizedName, WebServiceContext ctx) throws AuthenticationException, FatalErrorException
identify
in interface Authenticator
AuthenticationException
FatalErrorException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.