Package org.oa4mp.server.loader.qdl.util
Class JWTCommands
- java.lang.Object
-
- org.oa4mp.server.loader.qdl.util.JWTCommands
-
public class JWTCommands extends Object
Created by Jeff Gaynor
on 4/7/20 at 1:06 PM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
JWTCommands.Create_UUID
class
JWTCommands.CreateJWK
class
JWTCommands.CreateJWT
class
JWTCommands.DefaultKey
class
JWTCommands.GetHeader
class
JWTCommands.GetPayload
class
JWTCommands.KeyInfo
class
JWTCommands.Keys
class
JWTCommands.LoadJWK
class
JWTCommands.SaveKeys
class
JWTCommands.SymmKeys
class
JWTCommands.TestAudience
class
JWTCommands.TestClaims
class
JWTCommands.TestScopes
A list of scopes for testing.class
JWTCommands.TestXAs
class
JWTCommands.VerifyJWT
-
Field Summary
Fields Modifier and Type Field Description static String
ARG_DEFAULT_KEY_ID
static String
ARG_EC_CURVE_TYPE
static String
ARG_FILE_OVERWRITE_TYPE
static String
ARG_FILE_PATH_TYPE
static String
ARG_KEY_TYPE
static String
ARG_RSA_KEY_SIZE_TYPE
static String
ARG_SET_TO_CURRENT_KEYS_TYPE
protected String
CREATE_JWT_NAME
protected String
CREATE_KEYS_NAME
protected String
CREATE_UUID
protected String
CURRENT_KEYS
protected String
DEFAULT_KEY_NAME
protected String
GET_HEADER_NAME
protected String
GET_PAYLOAD_NAME
protected String
KEY_INFO_NAME
protected String
LOAD_KEYS_NAME
protected String
SAVE_KEYS_NAME
protected String
VERIFY_JWT_NAME
-
Constructor Summary
Constructors Constructor Description JWTCommands(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.uiuc.ncsa.security.util.jwk.JWKUtil2
getJsonWebKeyUtil()
edu.uiuc.ncsa.security.util.jwk.JSONWebKeys
getJwks()
org.qdl_lang.variables.QDLStem
getJwkStem()
edu.uiuc.ncsa.security.util.jwk.JWKUtil2
getJwkUtil()
edu.uiuc.ncsa.security.core.util.MyLoggingFacade
getLogger()
SigningCommands
getSigningCommands()
boolean
hasJWKS()
void
setJwks(edu.uiuc.ncsa.security.util.jwk.JSONWebKeys jwks)
void
setJwkUtil(edu.uiuc.ncsa.security.util.jwk.JWKUtil2 jwkUtil)
void
setLogger(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
protected void
writeWebkeys(org.qdl_lang.state.State state, net.sf.json.JSONObject jsonObject, String target)
-
-
-
Field Detail
-
CREATE_KEYS_NAME
protected String CREATE_KEYS_NAME
-
ARG_KEY_TYPE
public static String ARG_KEY_TYPE
-
ARG_DEFAULT_KEY_ID
public static String ARG_DEFAULT_KEY_ID
-
ARG_RSA_KEY_SIZE_TYPE
public static String ARG_RSA_KEY_SIZE_TYPE
-
ARG_EC_CURVE_TYPE
public static String ARG_EC_CURVE_TYPE
-
ARG_FILE_PATH_TYPE
public static String ARG_FILE_PATH_TYPE
-
ARG_FILE_OVERWRITE_TYPE
public static String ARG_FILE_OVERWRITE_TYPE
-
ARG_SET_TO_CURRENT_KEYS_TYPE
public static String ARG_SET_TO_CURRENT_KEYS_TYPE
-
LOAD_KEYS_NAME
protected String LOAD_KEYS_NAME
-
SAVE_KEYS_NAME
protected String SAVE_KEYS_NAME
-
DEFAULT_KEY_NAME
protected String DEFAULT_KEY_NAME
-
CURRENT_KEYS
protected String CURRENT_KEYS
-
CREATE_JWT_NAME
protected String CREATE_JWT_NAME
-
KEY_INFO_NAME
protected String KEY_INFO_NAME
-
VERIFY_JWT_NAME
protected String VERIFY_JWT_NAME
-
GET_HEADER_NAME
protected String GET_HEADER_NAME
-
GET_PAYLOAD_NAME
protected String GET_PAYLOAD_NAME
-
CREATE_UUID
protected String CREATE_UUID
-
-
Method Detail
-
hasJWKS
public boolean hasJWKS()
-
getJwks
public edu.uiuc.ncsa.security.util.jwk.JSONWebKeys getJwks()
-
setJwks
public void setJwks(edu.uiuc.ncsa.security.util.jwk.JSONWebKeys jwks)
-
getJwkStem
public org.qdl_lang.variables.QDLStem getJwkStem()
-
getJwkUtil
public edu.uiuc.ncsa.security.util.jwk.JWKUtil2 getJwkUtil()
-
setJwkUtil
public void setJwkUtil(edu.uiuc.ncsa.security.util.jwk.JWKUtil2 jwkUtil)
-
getLogger
public edu.uiuc.ncsa.security.core.util.MyLoggingFacade getLogger()
-
setLogger
public void setLogger(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
getSigningCommands
public SigningCommands getSigningCommands() throws Throwable
- Throws:
Throwable
-
getJsonWebKeyUtil
public edu.uiuc.ncsa.security.util.jwk.JWKUtil2 getJsonWebKeyUtil()
-
-