Class JWTCommands
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.util.qdl.JWTCommands
-
- All Implemented Interfaces:
edu.uiuc.ncsa.qdl.extensions.QDLModuleMetaClass
,Serializable
public class JWTCommands extends Object implements edu.uiuc.ncsa.qdl.extensions.QDLModuleMetaClass
Created by Jeff Gaynor
on 4/7/20 at 1:06 PM- See Also:
- Serialized Form
-
-
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.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 protected String
CREATE_JWT_NAME
protected String
CREATE_KEYS_NAME
protected String
CREATE_UUID
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.JSONWebKeyUtil
getJsonWebKeyUtil()
edu.uiuc.ncsa.security.core.util.MyLoggingFacade
getLogger()
SigningCommands
getSigningCommands()
void
setLogger(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
protected void
writeWebkeys(net.sf.json.JSONObject jsonObject, File target)
-
-
-
Field Detail
-
CREATE_KEYS_NAME
protected String CREATE_KEYS_NAME
-
LOAD_KEYS_NAME
protected String LOAD_KEYS_NAME
-
SAVE_KEYS_NAME
protected String SAVE_KEYS_NAME
-
DEFAULT_KEY_NAME
protected String DEFAULT_KEY_NAME
-
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
-
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.JSONWebKeyUtil getJsonWebKeyUtil()
-
writeWebkeys
protected void writeWebkeys(net.sf.json.JSONObject jsonObject, File target) throws IOException
- Throws:
IOException
-
-