Package edu.uiuc.ncsa.oa2.qdl
Class CLC
- java.lang.Object
-
- org.oa4mp.server.qdl.CLC
-
- All Implemented Interfaces:
edu.uiuc.ncsa.qdl.extensions.QDLModuleMetaClass
,Serializable
public class CLC extends Object implements edu.uiuc.ncsa.qdl.extensions.QDLModuleMetaClass
Created by Jeff Gaynor
on 7/22/21 at 10:41 AM- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CLC.Access
class
CLC.AccessAT
class
CLC.AccessRT
class
CLC.ClearParam
class
CLC.CreateURI
class
CLC.DeviceFlow
class
CLC.Exchange
class
CLC.GetClaim
class
CLC.GetParam
class
CLC.Grant
class
CLC.InitMethod
class
CLC.Introspect
class
CLC.Read
class
CLC.Refresh
class
CLC.Revoke
class
CLC.SetParam
class
CLC.Tokens
class
CLC.UserInfo
class
CLC.Write
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CLC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected edu.uiuc.ncsa.security.util.cli.InputLine
argsToInputLine(String name, Object[] objects)
Convert an array of strings (passed to the function) into anInputLine
to be consumed by the CLC.protected void
checkInit()
protected edu.uiuc.ncsa.qdl.variables.QDLStem
getTokens()
protected void
handleException(Throwable t)
protected AccessTokenImpl
stemToAT(edu.uiuc.ncsa.qdl.variables.QDLStem stem)
protected RefreshTokenImpl
stemToRT(edu.uiuc.ncsa.qdl.variables.QDLStem stem)
protected edu.uiuc.ncsa.qdl.variables.QDLStem
tokenToStem(TokenImpl token)
This is rather similar to theOA2CLCCommands.printToken(AccessToken, boolean, boolean)
and similar commands, except rather than spitting it all out as print statements, the information about the token is organized into a stem for further processing.
-
-
-
Field Detail
-
DUMMY_ARG
protected String DUMMY_ARG
-
INIT_NAME
protected String INIT_NAME
-
checkInitMessage
protected String checkInitMessage
-
CLAIMS_NAME
protected String CLAIMS_NAME
-
GRANT_NAME
protected String GRANT_NAME
-
ACCESS_NAME
protected String ACCESS_NAME
-
URI_NAME
protected String URI_NAME
-
REFRESH_NAME
protected String REFRESH_NAME
-
EXCHANGE_NAME
protected String EXCHANGE_NAME
-
REVOKE_NAME
protected String REVOKE_NAME
-
DEVICE_FLOW_NAME
protected String DEVICE_FLOW_NAME
-
INTROSPECT_NAME
protected String INTROSPECT_NAME
-
USER_INFO_NAME
protected String USER_INFO_NAME
-
TOKENS_NAME
protected String TOKENS_NAME
-
WRITE_NAME
protected String WRITE_NAME
-
READ_NAME
protected String READ_NAME
-
CLEAR_NAME
protected String CLEAR_NAME
-
LOAD_NAME
protected String LOAD_NAME
-
GET_PARAM
protected String GET_PARAM
-
SET_PARAM
protected String SET_PARAM
-
CLEAR_PARAMS
protected String CLEAR_PARAMS
-
PARAM_FLAG_AUTHZ
protected static final String PARAM_FLAG_AUTHZ
- See Also:
- Constant Field Values
-
PARAM_FLAG_AUTHZ_SHORT
protected static final String PARAM_FLAG_AUTHZ_SHORT
- See Also:
- Constant Field Values
-
PARAM_FLAG_TOKEN
protected static final String PARAM_FLAG_TOKEN
- See Also:
- Constant Field Values
-
PARAM_FLAG_TOKEN_SHORT
protected static final String PARAM_FLAG_TOKEN_SHORT
- See Also:
- Constant Field Values
-
PARAM_FLAG_REFRESH
protected static final String PARAM_FLAG_REFRESH
- See Also:
- Constant Field Values
-
PARAM_FLAG_REFRESH_SHORT
protected static final String PARAM_FLAG_REFRESH_SHORT
- See Also:
- Constant Field Values
-
PARAM_FLAG_EXCHANGE
protected static final String PARAM_FLAG_EXCHANGE
- See Also:
- Constant Field Values
-
PARAM_FLAG_EXCHANGE_SHORT
protected static final String PARAM_FLAG_EXCHANGE_SHORT
- See Also:
- Constant Field Values
-
ACCESS_TOKEN_ACCESSOR
public static String ACCESS_TOKEN_ACCESSOR
-
REFRESH_TOKEN_ACCESSOR
public static String REFRESH_TOKEN_ACCESSOR
-
-
Method Detail
-
checkInit
protected void checkInit()
-
getTokens
protected edu.uiuc.ncsa.qdl.variables.QDLStem getTokens()
-
argsToInputLine
protected edu.uiuc.ncsa.security.util.cli.InputLine argsToInputLine(String name, Object[] objects)
Convert an array of strings (passed to the function) into anInputLine
to be consumed by the CLC.- Parameters:
name
-objects
-- Returns:
-
handleException
protected void handleException(Throwable t)
-
tokenToStem
protected edu.uiuc.ncsa.qdl.variables.QDLStem tokenToStem(TokenImpl token)
This is rather similar to theOA2CLCCommands.printToken(AccessToken, boolean, boolean)
and similar commands, except rather than spitting it all out as print statements, the information about the token is organized into a stem for further processing.- Parameters:
token
-- Returns:
-
stemToAT
protected AccessTokenImpl stemToAT(edu.uiuc.ncsa.qdl.variables.QDLStem stem)
-
stemToRT
protected RefreshTokenImpl stemToRT(edu.uiuc.ncsa.qdl.variables.QDLStem stem)
-
-