org.primefaces.util
Class SecurityUtils

java.lang.Object
  extended by org.primefaces.util.SecurityUtils

public class SecurityUtils
extends Object


Method Summary
static boolean ifAllGranted(String value)
           
static boolean ifAnyGranted(String value)
           
static boolean ifGranted(String role)
           
static boolean ifNoneGranted(String value)
           
static String remoteUser()
           
static Principal userPrincipal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

ifGranted

public static boolean ifGranted(String role)

ifAllGranted

public static boolean ifAllGranted(String value)

ifAnyGranted

public static boolean ifAnyGranted(String value)

ifNoneGranted

public static boolean ifNoneGranted(String value)

remoteUser

public static String remoteUser()

userPrincipal

public static Principal userPrincipal()


Copyright © 2012. All Rights Reserved.