|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.plugin.rest.service.util.AuthenticatedApplicationUtil
public class AuthenticatedApplicationUtil
Utility for setting and retrieving the application name from the HttpServletRequest
.
Method Summary | |
---|---|
static java.lang.String |
getAuthenticatedApplication(javax.servlet.http.HttpServletRequest request)
Returns the application name from the HttpSession . |
static void |
setAuthenticatedApplication(javax.servlet.http.HttpServletRequest request,
java.lang.String applicationName)
Sets the name of the authenticated application as an attribute of the HttpSession . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getAuthenticatedApplication(javax.servlet.http.HttpServletRequest request)
HttpSession
.
request
- HTTP servlet request
java.lang.IllegalStateException
- if no application name was foundpublic static void setAuthenticatedApplication(javax.servlet.http.HttpServletRequest request, java.lang.String applicationName)
HttpSession
.
request
- HTTP servlet requestapplicationName
- name of the authenticated application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |