|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.authorities.interfaces.AuthorizationResponse
public class AuthorizationResponse
An authorization response must contain the following information: (a) A list of access tokens (b) An indication of how that result was obtained - specifically: - Whether the authority was reachable or not - Whether the user was found or not - Whether the user was authorized or not
| Field Summary | |
|---|---|
protected java.lang.String[] |
accessTokens
The list of access tokens |
static int |
RESPONSE_OK
|
static int |
RESPONSE_UNREACHABLE
|
static int |
RESPONSE_USERNOTFOUND
|
static int |
RESPONSE_USERUNAUTHORIZED
|
protected int |
responseStatus
The status |
| Constructor Summary | |
|---|---|
AuthorizationResponse(java.lang.String[] accessTokens,
int responseStatus)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getAccessTokens()
Get the tokens |
int |
getResponseStatus()
Get the status |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RESPONSE_OK
public static final int RESPONSE_UNREACHABLE
public static final int RESPONSE_USERNOTFOUND
public static final int RESPONSE_USERUNAUTHORIZED
protected java.lang.String[] accessTokens
protected int responseStatus
| Constructor Detail |
|---|
public AuthorizationResponse(java.lang.String[] accessTokens,
int responseStatus)
| Method Detail |
|---|
public int getResponseStatus()
public java.lang.String[] getAccessTokens()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||