public class OA2TestCommands
extends edu.uiuc.ncsa.myproxy.oa4mp.server.testing.TestCommands
Created by Jeff Gaynor
on 5/11/16 at 2:57 PM
| Modifier and Type | Field and Description |
|---|---|
static String |
CLAIMS_FLAG |
protected edu.uiuc.ncsa.oa4mp.oauth2.client.OA2MPService |
service |
| Constructor and Description |
|---|
OA2TestCommands(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger,
edu.uiuc.ncsa.myproxy.oa4mp.client.ClientEnvironment ce) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected String |
createURI(String base,
HashMap<String,String> args) |
void |
getat(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected void |
getATHelp() |
void |
getcert(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected void |
getCertHelp() |
protected void |
getClearHelp() |
edu.uiuc.ncsa.oa4mp.oauth2.client.OA2Asset |
getDummyAsset() |
protected edu.uiuc.ncsa.oa4mp.oauth2.client.OA2MPService |
getOA2S() |
protected String |
getRandomString() |
void |
getrt(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected void |
getRTHelp() |
edu.uiuc.ncsa.oa4mp.oauth2.client.OA2MPService |
getService() |
protected void |
getUIHelp() |
void |
geturi(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
Constructs the URI
|
void |
getURIHelp() |
void |
getuserinfo(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected void |
printTokens() |
void |
savecert(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
If the state supports this, it will save the current cert to a file.
|
protected void |
saveCertHelp() |
void |
setgrant(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected void |
setGrantHelp() |
void |
showclaims(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected void |
showClaimsHelp() |
void |
showrawtoken(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) |
protected void |
showRawTokenHelp() |
getCe, getPromptprotected edu.uiuc.ncsa.oa4mp.oauth2.client.OA2MPService service
public static final String CLAIMS_FLAG
public OA2TestCommands(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger,
edu.uiuc.ncsa.myproxy.oa4mp.client.ClientEnvironment ce)
protected edu.uiuc.ncsa.oa4mp.oauth2.client.OA2MPService getOA2S()
public edu.uiuc.ncsa.oa4mp.oauth2.client.OA2MPService getService()
getService in class edu.uiuc.ncsa.myproxy.oa4mp.server.testing.TestCommandspublic void getURIHelp()
protected String getRandomString()
public void geturi(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
inputLine - Exceptionprotected String createURI(String base, HashMap<String,String> args) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void setgrant(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionpublic edu.uiuc.ncsa.oa4mp.oauth2.client.OA2Asset getDummyAsset()
public void clear(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionprotected void getClearHelp()
protected void saveCertHelp()
public void savecert(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
inputLine - Exceptionprotected void showRawTokenHelp()
public void showrawtoken(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionpublic void showclaims(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionprotected void showClaimsHelp()
public void getat(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionprotected void getCertHelp()
protected void getUIHelp()
public void getuserinfo(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionpublic void getcert(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionprotected void getRTHelp()
protected void printTokens()
public void getrt(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
throws Exception
Exceptionprotected void getATHelp()
protected void setGrantHelp()
Copyright © 2018. All Rights Reserved.