Class RunAsIdentityMetaData
java.lang.Object
org.jboss.metadata.javaee.jboss.RunAsIdentityMetaData
- All Implemented Interfaces:
Serializable
Extended run-as/security-role metadata for defining a run as principal.
- Version:
- $Revision: 81768 $
- Author:
- Scott.Stark@jboss.org
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRunAsIdentityMetaData(String roleName, String principalName) Construct an inmutable instance of a RunAsIdentityRunAsIdentityMetaData(String roleName, String principalName, Set<String> extraRoleNames) Construct an inmutable instance of a RunAsIdentityMetaData -
Method Summary
Modifier and TypeMethodDescriptionbooleandoesUserHaveRole(String role) booleandoesUserHaveRole(Set<String> methodRoles) True if the run-as principal has any of the method rolesReturn a set with the configured run-as roletoString()Returns a string representation of the object.
-
Constructor Details
-
RunAsIdentityMetaData
-
RunAsIdentityMetaData
-
-
Method Details
-
getPrincipalName
-
getRoleName
-
getRunAsRoles
-
doesUserHaveRole
-
doesUserHaveRole
-
toString
-