|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The SecurityManager is responsible for validating credentials associated with principals.
| Method Summary | |
Subject |
getActiveSubject()
Get the currently authenticated subject. |
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 |
public String getSecurityDomain()
public 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
public 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 environment
public Subject getActiveSubject()
isValid(java.security.Principal, Object),
isValid(java.security.Principal, Object, javax.security.auth.Subject)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||