|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.uiuc.ncsa.myproxy.oa4mp.client.OA4MPService
public class OA4MPService
The OAuth for MyProxy service. Note that the ClientEnvironment is queried for its properties
for each call, so that changes on a per request basis will be performed.
Created by Jeff Gaynor
on May 16, 2011 at 3:27:16 PM
| Field Summary | |
|---|---|
static String |
SKIN_PARAMETER
|
| Constructor Summary | |
|---|---|
OA4MPService(ClientEnvironment environment)
Basic constructor for this service. |
|
| Method Summary | |
|---|---|
AssetResponse |
getCert(String tempToken,
String verifier)
Retrieve the certificate chain from the server. |
AssetResponse |
getCert(String tempToken,
String verifier,
edu.uiuc.ncsa.security.core.Identifier identifier)
Performs the getCert(String, String) call then updates the asset associated with
the given identifier. |
ClientEnvironment |
getEnvironment()
|
OA4MPResponse |
requestCert()
This will make the request with whatever defaults are in effect for the client. |
OA4MPResponse |
requestCert(edu.uiuc.ncsa.security.core.Identifier identifier)
A convenience method to do the requestCert() call and create an asset with the given identifier. |
OA4MPResponse |
requestCert(edu.uiuc.ncsa.security.core.Identifier identifier,
Map additionalParameters)
A convenience method that allows for a map of additional parameters. |
OA4MPResponse |
requestCert(Map additionalParameters)
Request a certificate from the user portal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SKIN_PARAMETER
| Constructor Detail |
|---|
public OA4MPService(ClientEnvironment environment)
environment - | Method Detail |
|---|
public ClientEnvironment getEnvironment()
public OA4MPResponse requestCert(Map additionalParameters)
public OA4MPResponse requestCert()
requestCert(java.util.Map) call.
public OA4MPResponse requestCert(edu.uiuc.ncsa.security.core.Identifier identifier)
requestCert() call and create an asset with the given identifier. This
will throw an exception if there is no asset store configured.
identifier -
public OA4MPResponse requestCert(edu.uiuc.ncsa.security.core.Identifier identifier,
Map additionalParameters)
identifier - additionalParameters -
public AssetResponse getCert(String tempToken,
String verifier)
requestCert() and
user authorization.
tempToken - verifier -
public AssetResponse getCert(String tempToken,
String verifier,
edu.uiuc.ncsa.security.core.Identifier identifier)
getCert(String, String) call then updates the asset associated with
the given identifier. This throws an exception is there is no asset or if the asset store
is not enabled.
tempToken - verifier - identifier -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||