org.apache.oltu.oauth2.jwt.io
Class JWTClaimsSetWriter

java.lang.Object
  extended by org.apache.oltu.commons.json.CustomizableEntityWriter<ClaimsSet>
      extended by org.apache.oltu.oauth2.jwt.io.JWTClaimsSetWriter

public final class JWTClaimsSetWriter
extends org.apache.oltu.commons.json.CustomizableEntityWriter<ClaimsSet>


Field Summary
static String ALGORITHM
          The alg JWT Header key.
static String AUDIENCE
          The aud JWT Claims Set key.
static String CONTENT_TYPE
          The cty JWT Header key.
static String EXPIRATION_TIME
          The exp JWT Claims Set key.
static String ISSUED_AT
          The iat JWT Claims Set key.
static String ISSUER
          The iss JWT Claims Set key.
static String JWT_ID
          The jti JWT Claims Set key.
static String NOT_BEFORE
          The nbf JWT Claims Set key.
static String SUBJECT
          The sub JWT Claims Set key.
static String TYPE
          The typ JWT Header key.
 
Constructor Summary
JWTClaimsSetWriter()
           
 
Method Summary
protected  void handleProperties(ClaimsSet claimsSet)
           
 
Methods inherited from class org.apache.oltu.commons.json.CustomizableEntityWriter
set, set, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
The typ JWT Header key.

See Also:
Constant Field Values

ALGORITHM

public static final String ALGORITHM
The alg JWT Header key.

See Also:
Constant Field Values

CONTENT_TYPE

public static final String CONTENT_TYPE
The cty JWT Header key.

See Also:
Constant Field Values

ISSUER

public static final String ISSUER
The iss JWT Claims Set key.

See Also:
Constant Field Values

SUBJECT

public static final String SUBJECT
The sub JWT Claims Set key.

See Also:
Constant Field Values

AUDIENCE

public static final String AUDIENCE
The aud JWT Claims Set key.

See Also:
Constant Field Values

EXPIRATION_TIME

public static final String EXPIRATION_TIME
The exp JWT Claims Set key.

See Also:
Constant Field Values

NOT_BEFORE

public static final String NOT_BEFORE
The nbf JWT Claims Set key.

See Also:
Constant Field Values

ISSUED_AT

public static final String ISSUED_AT
The iat JWT Claims Set key.

See Also:
Constant Field Values

JWT_ID

public static final String JWT_ID
The jti JWT Claims Set key.

See Also:
Constant Field Values
Constructor Detail

JWTClaimsSetWriter

public JWTClaimsSetWriter()
Method Detail

handleProperties

protected void handleProperties(ClaimsSet claimsSet)
Specified by:
handleProperties in class org.apache.oltu.commons.json.CustomizableEntityWriter<ClaimsSet>


Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.