org.jboss.seam.web
Class IsUserInRole

java.lang.Object
  extended by org.jboss.seam.web.IsUserInRole
Direct Known Subclasses:
IsUserInRole

@Scope(value=APPLICATION)
@BypassInterceptors
@Name(value="org.jboss.seam.web.isUserInRole")
@Install(precedence=0)
public class IsUserInRole
extends java.lang.Object

Manager component for a map of roles assigned to the current user, as exposed via the JSF ExternalContext.

Author:
Gavin King

Constructor Summary
IsUserInRole()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Boolean> getMap()
           
protected  java.lang.Boolean isUserInRole(java.lang.String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsUserInRole

public IsUserInRole()
Method Detail

getMap

@Unwrap
public java.util.Map<java.lang.String,java.lang.Boolean> getMap()

isUserInRole

protected java.lang.Boolean isUserInRole(java.lang.String role)


Copyright © 2011 Seam Framework. All Rights Reserved.