public class LdapSimpleAuthenticator extends Object implements Authenticator
JUDDI_AUTHENTICATOR_INITIAL_CONTEXT
JUDDI_AUTHENTICATOR_STYLE
Property
Constructor and Description |
---|
LdapSimpleAuthenticator() |
LdapSimpleAuthenticator(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 LdapSimpleAuthenticator() throws NamingException, org.apache.commons.configuration.ConfigurationException
NamingException
org.apache.commons.configuration.ConfigurationException
public LdapSimpleAuthenticator(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.