|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorityGranter
The AuthorityGranter interface is used to map a given principal to role names.
If a Windows NT login module were to be used from JAAS, an AuthrityGranter
implementation could be created to map a NT Group Principal to a ROLE_USER
role for instance.
Method Summary | |
---|---|
java.util.Set |
grant(java.security.Principal principal)
The grant method is called for each principal returned from the LoginContext subject. |
Method Detail |
---|
java.util.Set grant(java.security.Principal principal)
principal
- One of the principals from the LoginContext.getSubect().getPrincipals() method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |