|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.impl.AuthenticationProviderImpl
AuthenticationProvider
Field Summary | |
private CredentialHandler |
credHandler
The CredentialHandler . |
private static org.apache.commons.logging.Log |
log
The logger. |
private String |
providerDescription
The provider description. |
private String |
providerName
The provider name. |
private UserSecurityHandler |
userSecurityHandler
The UserSecurityHandler . |
Constructor Summary | |
AuthenticationProviderImpl(String providerName,
String providerDescription,
CredentialHandler credHandler,
UserSecurityHandler userSecurityHandler)
Constructor to configure authenticatino user security and credential handlers. |
|
AuthenticationProviderImpl(String providerName,
String providerDescription,
String loginConfig,
CredentialHandler credHandler,
UserSecurityHandler userSecurityHandler)
Constructor configuring the security service with the correct java.security.auth.login.config . |
Method Summary | |
CredentialHandler |
getCredentialHandler()
Gets the CredentialHandler . |
String |
getProviderDescription()
Gets the authentication provider description. |
String |
getProviderName()
Gets the authentication provider name. |
UserSecurityHandler |
getUserSecurityHandler()
Gets the UserSecurityHandler . |
void |
setCredentialHandler(CredentialHandler credHandler)
Sets the CredentialHandler . |
void |
setProviderDescription(String providerDescription)
|
void |
setProviderName(String providerName)
|
void |
setUserSecurityHandler(UserSecurityHandler userSecurityHandler)
Sets the UserSecurityHandler . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.commons.logging.Log log
private String providerName
private String providerDescription
private CredentialHandler credHandler
CredentialHandler
.
private UserSecurityHandler userSecurityHandler
UserSecurityHandler
.
Constructor Detail |
public AuthenticationProviderImpl(String providerName, String providerDescription, CredentialHandler credHandler, UserSecurityHandler userSecurityHandler)
Constructor to configure authenticatino user security and credential handlers.
providerName
- The provider name.providerDescription
- The provider description.credHandler
- The credential handler.userSecurityHandler
- The user security handler.public AuthenticationProviderImpl(String providerName, String providerDescription, String loginConfig, CredentialHandler credHandler, UserSecurityHandler userSecurityHandler)
Constructor configuring the security service with the correct
java.security.auth.login.config
.
providerName
- The provider name.providerDescription
- The provider description.loginConfig
- The login module config.credHandler
- The credential handler.userSecurityHandler
- The user security handler.Method Detail |
public String getProviderDescription()
AuthenticationProvider
Gets the authentication provider description.
getProviderDescription
in interface AuthenticationProvider
public void setProviderDescription(String providerDescription)
providerDescription
- The providerDescription to set.public String getProviderName()
AuthenticationProvider
Gets the authentication provider name.
getProviderName
in interface AuthenticationProvider
public void setProviderName(String providerName)
providerName
- The providerName to set.public CredentialHandler getCredentialHandler()
AuthenticationProvider
Gets the CredentialHandler
.
getCredentialHandler
in interface AuthenticationProvider
CredentialHandler
.AuthenticationProvider.getCredentialHandler()
public UserSecurityHandler getUserSecurityHandler()
AuthenticationProvider
Gets the UserSecurityHandler
.
getUserSecurityHandler
in interface AuthenticationProvider
UserSecurityHandler
.AuthenticationProvider.getUserSecurityHandler()
public void setCredentialHandler(CredentialHandler credHandler)
AuthenticationProvider
Sets the CredentialHandler
.
setCredentialHandler
in interface AuthenticationProvider
credHandler
- The CredentialHandler
.AuthenticationProvider.setCredentialHandler(CredentialHandler)
public void setUserSecurityHandler(UserSecurityHandler userSecurityHandler)
AuthenticationProvider
Sets the UserSecurityHandler
.
setUserSecurityHandler
in interface AuthenticationProvider
userSecurityHandler
- The UserSecurityHandler
.AuthenticationProvider.setUserSecurityHandler(UserSecurityHandler)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |