|
aerogear-security-picketlink 1.2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aerogear.security.picketlink.authz.GrantConfiguration
@ApplicationScoped public class GrantConfiguration
GrantMethods implementation is a builder to apply roles to User
| Constructor Summary | |
|---|---|
GrantConfiguration()
|
|
| Method Summary | |
|---|---|
GrantConfiguration |
revoke(String... roles)
This method allows to revoke which roles must be revoked to User |
GrantConfiguration |
roles(String[] roles)
This method specifies which roles will be applied to User |
void |
to(String username)
This method applies roles specified on IdentityManagement.grant(String...) |
void |
to(org.picketlink.idm.model.basic.User user)
This method revokes roles specified on IdentityManagement.revoke(String...) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GrantConfiguration()
| Method Detail |
|---|
public GrantConfiguration roles(String[] roles)
roles in interface org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods<org.picketlink.idm.model.basic.User>roles - Array of roles
public GrantConfiguration revoke(String... roles)
revoke in interface org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods<org.picketlink.idm.model.basic.User>roles - List of roles to be revokedpublic void to(org.picketlink.idm.model.basic.User user)
IdentityManagement.revoke(String...)
to in interface org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods<org.picketlink.idm.model.basic.User>user - represents a simple user's implementation to hold credentials.public void to(String username)
IdentityManagement.grant(String...)
to in interface org.jboss.aerogear.security.authz.IdentityManagement.GrantMethods<org.picketlink.idm.model.basic.User>username - represents a simple user's implementation to hold credentials.
|
aerogear-security-picketlink 1.2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||