|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationManager
The AuthenticationManager is responsible for validating credentials associated with principals.
Method Summary | |
---|---|
Subject |
getActiveSubject()
Deprecated. Use the JACC PolicyContextHandler using key "javax.security.auth.Subject.container" |
String |
getSecurityDomain()
Get the security domain from which the security manager is from. |
boolean |
isValid(Principal principal,
Object credential)
The isValid method is invoked to see if a user identity and associated credentials as known in the operational environment are valid proof of the user identity. |
boolean |
isValid(Principal principal,
Object credential,
Subject activeSubject)
The isValid method is invoked to see if a user identity and associated credentials as known in the operational environment are valid proof of the user identity. |
Method Detail |
---|
String getSecurityDomain()
boolean isValid(Principal principal, Object credential)
principal
- - the user identity in the operation environmentcredential
- - the proof of user identity as known in the
operation environment
isValid(Principal, Object, Subject)
boolean isValid(Principal principal, Object credential, Subject activeSubject)
principal
- - the user identity in the operation environmentcredential
- - the proof of user identity as known in the
operation environmentactiveSubject
- - the Subject which should be populated with the
validated Subject contents. A JAAS based implementation would typically
populate the activeSubject with the LoginContext.login result.
Subject getActiveSubject()
PolicyContextHandler.getContext(String, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |