|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.fedict.eid.applet.service.impl.AuthenticationChallenge
public class AuthenticationChallenge
Authentication Challenge. Manages challenge freshness and randomness.
Field Summary | |
---|---|
static String |
AUTHN_CHALLENGE_SESSION_ATTRIBUTE
|
static long |
DEFAULT_MAX_MATURITY
The default maximum allowed maturity of the challenge in milliseconds. |
Method Summary | |
---|---|
static byte[] |
generateChallenge(HttpSession session)
Generates a challenge and stores it in the given HTTP session for later consumption. |
static byte[] |
getAuthnChallenge(HttpSession session,
Long maxMaturity)
Gives back the authentication challenge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AUTHN_CHALLENGE_SESSION_ATTRIBUTE
public static final long DEFAULT_MAX_MATURITY
Method Detail |
---|
public static byte[] generateChallenge(HttpSession session)
session
-
public static byte[] getAuthnChallenge(HttpSession session, Long maxMaturity)
session
- maxMaturity
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |