info.magnolia.cms.security
Class SecurityUtil
java.lang.Object
info.magnolia.cms.security.SecurityUtil
public class SecurityUtil
- extends Object
Util class to test if a user is logged in.
- Version:
- $Id: SecurityUtil.java 53378 2012-01-13 15:17:23Z ochytil $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityUtil
public SecurityUtil()
isAnonymous
public static boolean isAnonymous()
- Checks if the currently acting user is anonymous.
isAuthenticated
public static boolean isAuthenticated()
stripPasswordFromCacheLog
public static String stripPasswordFromCacheLog(String log)
- Used for removing password parameter from cache key.
- Parameters:
cacheKey.toString()
-
- Returns:
stripPasswordFromUrl
public static String stripPasswordFromUrl(String url)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.