|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.security.impl.jacc.JaccHelper
Helper class for JACC related operations.
Constructor Summary | |
JaccHelper()
|
Method Summary | |
static java.lang.String |
getPolicyContextID(JBossSecurityProvider securityProvider,
java.lang.String permType,
java.lang.String uri)
Build the policy context id to use , based on the server config's domain and the provided handle |
static java.security.ProtectionDomain |
getProtectionDomain(java.security.Principal[] principals)
Get a protection domain to use in a policy check. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JaccHelper()
Method Detail |
public static java.lang.String getPolicyContextID(JBossSecurityProvider securityProvider, java.lang.String permType, java.lang.String uri)
securityProvider
- the security provider that allows access to the portal server configuri
- the identifier of the portal resource to be checked for authorization rights
public static java.security.ProtectionDomain getProtectionDomain(java.security.Principal[] principals)
principals
- an array of Principals carying the role member ship information of the user to check access for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |