[Yanel-commits] rev 55534 -
public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu
michi at wyona.com
michi at wyona.com
Thu Dec 16 08:16:21 CET 2010
Author: michi
Date: 2010-12-16 08:16:21 +0100 (Thu, 16 Dec 2010)
New Revision: 55534
Modified:
public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/Menu.java
Log:
unused method commented
Modified: public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/Menu.java
===================================================================
--- public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/Menu.java 2010-12-16 07:08:15 UTC (rev 55533)
+++ public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/menu/Menu.java 2010-12-16 07:16:21 UTC (rev 55534)
@@ -129,11 +129,14 @@
}
/**
+ * @deprecated Use Resource.getEnvironment().getIdentity() instead
* Gets the identity from the session associated with the given request.
* @param request
+ * @param map Realm/Path map
* @return identity or null if there is no identity in the session for the current
* realm or if there is no session at all
*/
+/*
public Identity getIdentity(HttpServletRequest request, Map map) throws Exception {
Realm realm = map.getRealm(request.getServletPath());
HttpSession session = request.getSession(false);
@@ -145,6 +148,7 @@
}
return null;
}
+*/
/**
* Check if user is authorized to access resource (IMPORTANT NOTE: Using isAuthorized() can lead to performance/scalabilty issues)
More information about the Yanel-commits
mailing list