/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/util/ |
H A D | Token.java | 25 * $Id: Token.java,v 1.2 2008/06/25 05:41:28 qcheng Exp $ 33 * The Token class is used by RequestToken class to define valid tokens. It is 38 public class Token { class 46 * Name of Token - A String 50 public Token() { method in class:Token 61 public Token(String name, int value) { method in class:Token
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/am/util/ |
H A D | Token.java | 25 * $Id: Token.java,v 1.2 2008/06/25 05:41:28 qcheng Exp $ 33 * The Token class is used by RequestToken class to define valid tokens. It is 38 public class Token { class 46 * Name of Token - A String 50 public Token() { method in class:Token 61 public Token(String name, int value) { method in class:Token
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/adapters/ |
H A D | TokenAdapter.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 21 * Describes the ability to convert from one type of object into a Token and the 22 * reverse operation of converting from a Token into the object of type T. 24 * This is a key feature of the Core Token Service, which acts as a generic 27 * @see org.forgerock.openam.cts.api.tokens.Token 34 * @param t Object of type T to convert to a Token. 35 * @return A non null Token. 37 public Token toToken(T t); 40 * @param token Token to be converted back to its original type of T. 43 public T fromToken(Token toke [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/adapters/ |
H A D | TokenAdapter.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 21 * Describes the ability to convert from one type of object into a Token and the 22 * reverse operation of converting from a Token into the object of type T. 24 * This is a key feature of the Core Token Service, which acts as a generic 27 * @see org.forgerock.openam.cts.api.tokens.Token 34 * @param t Object of type T to convert to a Token. 35 * @return A non null Token. 37 public Token toToken(T t); 40 * @param token Token to be converted back to its original type of T. 43 public T fromToken(Token toke [all...] |
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/api/tokens/ |
H A D | TokenTest.java | 35 Token token = new Token("", TokenType.SESSION); 47 Token token = new Token("", TokenType.SESSION); 60 Token token = new Token("", TokenType.SESSION); 72 Token token = new Token("", TokenType.SESSION); 82 Token token = new Token("i [all...] |
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/ |
H A D | TokenTestUtilsTest.java | 20 import org.forgerock.openam.cts.api.tokens.Token; 31 Token expected = new Token("", TokenType.SESSION); 32 Token result = new Token("", TokenType.SESSION); 46 Token expected = new Token("", TokenType.SESSION); 49 Token result = new Token("", TokenType.SESSION); 61 Token expecte [all...] |
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/ |
H A D | TokenTestUtilsTest.java | 22 import org.forgerock.openam.cts.api.tokens.Token; 33 Token expected = new Token("", TokenType.SESSION); 34 Token result = new Token("", TokenType.SESSION); 48 Token expected = new Token("", TokenType.SESSION); 51 Token result = new Token("", TokenType.SESSION); 63 Token expecte [all...] |
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/api/tokens/ |
H A D | TokenTest.java | 40 Token token = new Token("", TokenType.SESSION); 52 Token token = new Token("", TokenType.SESSION); 65 Token token = new Token("", TokenType.SESSION); 77 Token token = new Token("", TokenType.SESSION); 87 Token token = new Token("i [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/ |
H A D | TokenStorageAdapter.java | 22 import org.forgerock.openam.cts.api.tokens.Token; 32 * Create the Token in the database. 35 * @param token Non null Token to create. 38 void create(T connection, Token token) throws DataLayerException; 41 * Performs a read against the database connection and converts the result into a Token. 44 * @param tokenId The id of the Token to read. 45 * @return Token if found, otherwise null. 47 Token read(T connection, String tokenId) throws DataLayerException; 50 * Update the Token based on whether there were any changes between the two. 53 * @param previous The non null previous Token t [all...] |
H A D | DataLayerException.java | 22 import org.forgerock.openam.cts.api.tokens.Token; 42 public DataLayerException(String error, Token token) { 46 public DataLayerException(String error, Token token, Throwable cause) { 57 private static String wrapMessage(String msg, Token token) {
|
H A D | DataLayerRuntimeException.java | 22 import org.forgerock.openam.cts.api.tokens.Token; 42 public DataLayerRuntimeException(String error, Token token) { 46 public DataLayerRuntimeException(String error, Token token, Throwable cause) { 57 private static String wrapMessage(String msg, Token token) {
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/ |
H A D | CTSPersistentStore.java | 20 import org.forgerock.openam.cts.api.tokens.Token; 29 * Core Token Service Persistent Store is responsible for the storage and retrieval of Tokens from a persistent store. 31 * The Core Token Service is exposed through a series of CRUDL operations which require the use of TokenAdapters to 32 * convert from objects to be stored into the expected Core Token Service format. This allows the Tokens to be stored in 47 * @see Token 52 * Creates a Token in the persistent store synchronously. 54 * @param token Non null Token to create. 56 * {@link org.forgerock.openam.cts.utils.blob.TokenBlobStrategy}s on the provided Token, or if the operation itself 60 void create(Token token) throws CoreTokenException; 63 * Creates a Token i [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/exceptions/ |
H A D | CreateFailedException.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 26 public CreateFailedException(Token token, Throwable e) {
|
H A D | SetFailedException.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 23 * Represents a failure to set the contents of an existing Token. 29 * Failed to set a Token. 30 * @param token Non null Token being modified. 33 public SetFailedException(Token token, Throwable e) { 35 "Failed to set Token:\n" +
|
H A D | CoreTokenException.java | 20 import org.forgerock.openam.cts.api.tokens.Token; 25 * Base Core Token Service exception for all sub types. 42 public CoreTokenException(String error, Token token) { 46 public CoreTokenException(String error, Token token, Throwable cause) { 57 private static String wrapMessage(String msg, Token token) {
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/exceptions/ |
H A D | CreateFailedException.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 26 public CreateFailedException(Token token, Throwable e) {
|
H A D | SetFailedException.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 23 * Represents a failure to set the contents of an existing Token. 29 * Failed to set a Token. 30 * @param token Non null Token being modified. 33 public SetFailedException(Token token, Throwable e) { 35 "Failed to set Token:\n" +
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/ |
H A D | TokenStorageAdapter.java | 21 import org.forgerock.openam.cts.api.tokens.Token; 34 * Create the Token in the database. 36 * @param token Non null Token to create. 42 Token create(Token token, Options options) throws DataLayerException; 45 * Performs a read against the database connection and converts the result into a Token. 47 * @param tokenId The id of the Token to read. 49 * @return Token if found, otherwise null. 51 Token read(String tokenId, Options options) throws DataLayerException; 54 * Update the Token base [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/ |
H A D | CTSPersistentStore.java | 23 import org.forgerock.openam.cts.api.tokens.Token; 33 * Core Token Service Persistent Store is responsible for the storage and retrieval of Tokens from a persistent store. 35 * The Core Token Service is exposed through a series of CRUDL operations which require the use of TokenAdapters to 36 * convert from objects to be stored into the expected Core Token Service format. This allows the Tokens to be stored in 51 * @see Token 56 * Creates a Token in the persistent store synchronously. 58 * @param token Non null Token to create. 60 * {@link TokenBlobStrategy}s on the provided Token, or if the operation itself 63 void create(Token token) throws CoreTokenException; 66 * Creates a Token i [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idsvcs/ |
H A D | IdentityServices.java | 35 import com.iplanet.am.util.Token; 46 * @param subject Token for subject. 48 * @throws TokenExpired When Token has expired. 53 UserDetails attributes(List attributeNames, Token subject, boolean refresh) throws TokenExpired, GeneralFailure, 59 * @param app Token corresponding to the authenticated application. 67 void log(Token app, Token subject, String logName, String message) throws AccessDenied, TokenExpired, 76 * @param admin Token identifying the administrator to be used to authorize 88 IdentityDetails read(String name, List attributes, Token admin) throws NeedMoreCredentials, ObjectNotFound,
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/impl/queue/ |
H A D | ResultHandlerFactory.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 33 ResultHandler<Token, CoreTokenException> getCreateHandler(); 38 ResultHandler<Token, CoreTokenException> getReadHandler(); 43 ResultHandler<Token, CoreTokenException> getUpdateHandler(); 53 ResultHandler<Collection<Token>, CoreTokenException> getQueryHandler();
|
H A D | AsyncResultHandlerFactory.java | 25 import org.forgerock.openam.cts.api.tokens.Token; 58 public ResultHandler<Token, CoreTokenException> getCreateHandler() { 59 return new AsyncResultHandler<Token>(config, debug); 65 public ResultHandler<Token, CoreTokenException> getReadHandler() { 66 return new AsyncResultHandler<Token>(config, debug); 72 public ResultHandler<Token, CoreTokenException> getUpdateHandler() { 73 return new AsyncResultHandler<Token>(config, debug); 86 public ResultHandler<Collection<Token>, CoreTokenException> getQueryHandler() { 87 return new AsyncResultHandler<Collection<Token>>(config, debug);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idsvcs/ |
H A D | IdentityServices.java | 35 import com.iplanet.am.util.Token; 46 * @param subject Token for subject. 48 * @throws TokenExpired When Token has expired. 53 UserDetails attributes(List attributeNames, Token subject, boolean refresh) throws TokenExpired, GeneralFailure, 59 * @param app Token corresponding to the authenticated application. 67 void log(Token app, Token subject, String logName, String message) throws AccessDenied, TokenExpired, 76 * @param admin Token identifying the administrator to be used to authorize 88 IdentityDetails read(String name, List attributes, Token admin) throws NeedMoreCredentials, ObjectNotFound,
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/impl/queue/ |
H A D | ResultHandlerFactory.java | 18 import org.forgerock.openam.cts.api.tokens.Token; 33 ResultHandler<Token, CoreTokenException> getCreateHandler(); 38 ResultHandler<Token, CoreTokenException> getReadHandler(); 43 ResultHandler<Token, CoreTokenException> getUpdateHandler(); 53 ResultHandler<Collection<Token>, CoreTokenException> getQueryHandler();
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/tasks/ |
H A D | TaskFactory.java | 21 import org.forgerock.openam.cts.api.tokens.Token; 37 * Used to signal the creation of the given Token. 39 * @return Non null Token creation Task. 41 public Task create(Token token, ResultHandler<Token, ?> handler) { 46 * Used to signal a read operation for the Token ID. 49 * @return Non null Token read Task. 51 public Task read(String tokenId, ResultHandler<Token, ?> handler) { 56 * Used to signal an update operation for the given Token. 58 * @return Non null Token updat [all...] |