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 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
 Map<String,Boolean> getMap()
           
protected  Boolean isUserInRole(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 Map<String,Boolean> getMap()

isUserInRole

protected Boolean isUserInRole(String role)


Copyright © 2011 Seam Framework. All Rights Reserved.