org.kuali.student.common.util.security
Class SecurityUtils

java.lang.Object
  extended by org.kuali.student.common.util.security.SecurityUtils

public class SecurityUtils
extends Object


Constructor Summary
SecurityUtils()
           
 
Method Summary
static String getCurrentPrincipalId()
          This can be used to get the current user's principal id from security context
static String getCurrentPrincipalName()
          This can be used to get the current user's principal name from security context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityUtils

public SecurityUtils()
Method Detail

getCurrentPrincipalId

public static String getCurrentPrincipalId()
This can be used to get the current user's principal id from security context

Returns:
principal id

getCurrentPrincipalName

public static String getCurrentPrincipalName()
This can be used to get the current user's principal name from security context

Returns:
principal name


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.