|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.security.SecurityTokenService
public class SecurityTokenService
This class provides a security service for getting and verify tokens
| Field Summary | |
|---|---|
static String |
MARK_TOKEN
|
static String |
PARAMETER_TOKEN
|
| Method Summary | |
|---|---|
static ISecurityTokenService |
getInstance()
Returns the instance of the singleton |
String |
getToken(javax.servlet.http.HttpServletRequest request,
String strAction)
return a security token |
boolean |
validate(javax.servlet.http.HttpServletRequest request,
String StrAction)
verify if the request contains the securiy token |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MARK_TOKEN
public static final String PARAMETER_TOKEN
| Method Detail |
|---|
public static ISecurityTokenService getInstance()
public String getToken(javax.servlet.http.HttpServletRequest request,
String strAction)
getToken in interface ISecurityTokenServicerequest - The Http requeststrAction - the action type
public boolean validate(javax.servlet.http.HttpServletRequest request,
String StrAction)
validate in interface ISecurityTokenServicerequest - The Http requestStrAction - the action type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||