A B C D E F G I K L N O P R S T U W

A

addParameter(String, String) - Method in class com.pingidentity.opentoken.util.UrlHelper
Adds or appends a parameter to the URL.
Agent - Class in com.pingidentity.opentoken
Provides the methods necessary for generating and consuming a valid OpenToken cookie or query parameter.
Agent() - Constructor for class com.pingidentity.opentoken.Agent
Constructs an Agent with default values.
Agent(boolean) - Constructor for class com.pingidentity.opentoken.Agent
Constructs an Agent using configuration file on CLASSPATH.
Agent(InputStream) - Constructor for class com.pingidentity.opentoken.Agent
Constructs an Agent using the configuration from the provided InputStream.
Agent(AgentConfiguration) - Constructor for class com.pingidentity.opentoken.Agent
Constructs an Agent using configuration from the provided AgentConfiguration.
Agent(String) - Constructor for class com.pingidentity.opentoken.Agent
Constructs an Agent using a configuration file on CLASSPATH.
AGENT_CONFIG_FILE_DEFALUT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default location on disk for the configuration file
AgentConfiguration - Class in com.pingidentity.opentoken
Represents the configuration state of an Agent instance.
AgentConfiguration(InputStream) - Constructor for class com.pingidentity.opentoken.AgentConfiguration
Constructs an AgentConfiguration instance using configuration from the provided InputStream.
AgentConfiguration() - Constructor for class com.pingidentity.opentoken.AgentConfiguration
Constructs an AgentConfiguration instance using configuration file on CLASSPATH.
AgentConfiguration(boolean) - Constructor for class com.pingidentity.opentoken.AgentConfiguration
Constructs an AgentConfiguration instance using configuration file on CLASSPATH.
AgentConfiguration(String) - Constructor for class com.pingidentity.opentoken.AgentConfiguration
Constructs an AgentConfiguration instance using configuration file on CLASSPATH.

B

Base64 - Class in com.pingidentity.opentoken.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in com.pingidentity.opentoken.util
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class com.pingidentity.opentoken.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class com.pingidentity.opentoken.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in com.pingidentity.opentoken.util
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class com.pingidentity.opentoken.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class com.pingidentity.opentoken.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

C

CIPHER_SUITE_3DES168CBC - Static variable in class com.pingidentity.opentoken.Token
Triple DES (168 bit, CBC mode, PKCS/5 padding) cipher suite
CIPHER_SUITE_AES128CBC - Static variable in class com.pingidentity.opentoken.Token
AES (128 bit, CBC mode, PKCS/5 padding) cipher suite
CIPHER_SUITE_AES256CBC - Static variable in class com.pingidentity.opentoken.Token
AES (256 bit, CBC mode, PKCS/5 padding) cipher suite
CIPHER_SUITE_NULL - Static variable in class com.pingidentity.opentoken.Token
NULL (no encryption) cipher suite
close() - Method in class com.pingidentity.opentoken.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
com.pingidentity.opentoken - package com.pingidentity.opentoken
 
com.pingidentity.opentoken.util - package com.pingidentity.opentoken.util
 
convertFromMultiMap(MultiMap) - Static method in class com.pingidentity.opentoken.Agent
 
convertListToString(List) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
 
convertToMultiMap(Map) - Static method in class com.pingidentity.opentoken.Agent
 
COOKIE_DOMAIN_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default domain to use when writing a token as a cookie
COOKIE_PATH_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default path to use when writing a token as a cookie
copy() - Method in class com.pingidentity.opentoken.AgentConfiguration
Creates a copy of the current AgentConfiguration instance.

D

decode(String, KeyManager, boolean) - Static method in class com.pingidentity.opentoken.Token
Deprecated. Use encode() method with explicit parameter useVerboseErrorMessages to control verbose messages.
decode(String, KeyManager, boolean, boolean) - Static method in class com.pingidentity.opentoken.Token
Decodes a provided OpenToken and extracts the key/value(s) pairs.This new method is provided in order to enable suppression of verbose error messages in the TokenException message.
DECODE - Static variable in class com.pingidentity.opentoken.util.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class com.pingidentity.opentoken.util.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class com.pingidentity.opentoken.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class com.pingidentity.opentoken.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class com.pingidentity.opentoken.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class com.pingidentity.opentoken.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class com.pingidentity.opentoken.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class com.pingidentity.opentoken.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
deleteToken(HttpServletResponse) - Method in class com.pingidentity.opentoken.Agent
Deletes the token from the provided response; applicable only when AgentConfiguration.isUseCookie() is true.
deobfuscate(String) - Method in class com.pingidentity.opentoken.util.Obfuscator
 
deserialize(String) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
 
deserialize(InputStream) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
 
deserialize(Reader) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
 
DETECT_MALFORMED_ATTRIBUTES_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag to enable/disable Detect Malformed Attributes
DONT_BREAK_LINES - Static variable in class com.pingidentity.opentoken.util.Base64
Don't break lines when encoding (violates strict Base64 specification)

E

encode(MultiMap, KeyManager, boolean) - Static method in class com.pingidentity.opentoken.Token
Deprecated. Use encode() method with explicit parameter useVerboseErrorMessages to control verbose messages.
encode(MultiMap, KeyManager, boolean, boolean, boolean) - Static method in class com.pingidentity.opentoken.Token
Encode a map of key/value(s) pairs into an opentoken string.
ENCODE - Static variable in class com.pingidentity.opentoken.util.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class com.pingidentity.opentoken.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class com.pingidentity.opentoken.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class com.pingidentity.opentoken.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class com.pingidentity.opentoken.util.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class com.pingidentity.opentoken.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class com.pingidentity.opentoken.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class com.pingidentity.opentoken.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class com.pingidentity.opentoken.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class com.pingidentity.opentoken.util.Base64
Convenience method for encoding data to a file.
escapeValue(String) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
Evaluate a string that will be used as a value and determine if there are characters that need to be escaped.

F

flushBase64() - Method in class com.pingidentity.opentoken.util.Base64.OutputStream
Method added by PHIL.

G

generate(String, int, boolean) - Static method in class com.pingidentity.opentoken.util.PasswordKeyGenerator
 
generate(String, int, byte[], int, boolean) - Static method in class com.pingidentity.opentoken.util.PasswordKeyGenerator
Derive a key from a password string, using PBKDF2 (RFC 2898)
getAgentConfiguration() - Method in class com.pingidentity.opentoken.Agent
Returns a copy of Agent configuration.
getCipherSuite() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns the number representing which cipher suite to be used for token encryption.
getCookieDomain() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns the domain used when writing a token as a cookie.
getCookiePath() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns the path used when writing a token as a cookie.
getLastError() - Method in class com.pingidentity.opentoken.Agent
This function should be used to generate log messages when the Agent encounters an error.
getNotBeforeTolerance() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns the number of seconds in the future that validation of the not-before field will permit.
getPassword() - Method in class com.pingidentity.opentoken.AgentConfiguration
Gets the password to use for token encryption; actual key is generated via PBKDF2.
getRenewUntilLifetime() - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the span of time (in seconds) during which this token may be renewed.
getTokenLifetime() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns the span of time (in seconds) during which generated tokens will be considered valid.
getTokenName() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns the name used to identify the token (either as a query parameter or cookie).
GZIP - Static variable in class com.pingidentity.opentoken.util.Base64
Specify that data should be gzip-compressed.

I

isDetectMalformedAttributes() - Method in class com.pingidentity.opentoken.AgentConfiguration
Indicates whether Detect Malformed Attributes or not.
ISO8601_FORMAT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Date/time format to use for not-before, not-on-or-after, and renew-until
isObfuscatePassword() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns a flag indicating if the password should be obfuscated.
isRemoveTrailingBackslash() - Method in class com.pingidentity.opentoken.AgentConfiguration
Indicates whether remove trailing backslash in attributes or not
isSecureCookie() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns a flag indicating if cookie will only be sent via secure transport (HTTPS).
isSessionCookie() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns a flag indicating if cookie will expire at the end of the browser session or in AgentConfiguration.getTokenLifetime() seconds.
isUseCookie() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns a flag indicating if the token will be exchanged using a cookie.
isUseSunJCE() - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns a flag indicating if the SunJCE provider should be used for token encryption, otherwise, use JVM default.
isUseVerboseErrorMessages() - Method in class com.pingidentity.opentoken.AgentConfiguration
Indicates whether TokenException is to contain a verbose error message rather than generic.

K

KeyValueSerializer - Class in com.pingidentity.opentoken.util
 
KeyValueSerializer() - Constructor for class com.pingidentity.opentoken.util.KeyValueSerializer
 

L

loadConfiguration(InputStream) - Method in class com.pingidentity.opentoken.Agent
Deprecated. as of version 1.3
loadConfiguration(InputStream) - Method in class com.pingidentity.opentoken.AgentConfiguration
Reads agent configuration from an InputStream that was previously generated by storeConfiguration or PingFederate.

N

NO_OPTIONS - Static variable in class com.pingidentity.opentoken.util.Base64
No options specified.
NOT_BEFORE_TOLERANCE_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default number of seconds in the future that validation of the not-before field will permit

O

obfuscate(byte[]) - Method in class com.pingidentity.opentoken.util.Obfuscator
 
OBFUSCATE_PASSWORD_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag indicating if the password should be obfuscated
Obfuscator - Class in com.pingidentity.opentoken.util
It's intended to (de)obfuscate passwords
Obfuscator(boolean) - Constructor for class com.pingidentity.opentoken.util.Obfuscator
Constructor
OPENTOKEN_SYSTEM_DEBUG - Static variable in class com.pingidentity.opentoken.Agent
Debug flag for bypassing encryption for test purposes
ORDERED - Static variable in class com.pingidentity.opentoken.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.

P

PasswordKeyGenerator - Class in com.pingidentity.opentoken.util
 

R

read() - Method in class com.pingidentity.opentoken.util.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class com.pingidentity.opentoken.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
readToken(String) - Method in class com.pingidentity.opentoken.Agent
Reads key/value pairs stored in a token string.
readToken(HttpServletRequest) - Method in class com.pingidentity.opentoken.Agent
Reads key/value pairs stored in a token on the provided request.
readTokenToMultiMap(String) - Method in class com.pingidentity.opentoken.Agent
Reads key/value(s) pairs stored in a token string.
readTokenToMultiMap(HttpServletRequest) - Method in class com.pingidentity.opentoken.Agent
Reads key/value(s) pairs stored in a token on the provided request.
REMOVE_TRAILING_BACKSLASH_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag to enable/disable Trailing Backslash Removal
RENEW_UNTIL_LIFETIME_DEFALUT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Sets the span of time (in seconds) during which this token may be renewed
resumeEncoding() - Method in class com.pingidentity.opentoken.util.Base64.OutputStream
Resumes encoding of the stream.

S

SECURE_COOKIE_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag indicating if cookie will be sent only via secure transport (HTTPS)
serialize(MultiMap, OutputStream) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
Deprecated. use serialize() method with explicit removeTrailingBackslashes parameter.
serialize(MultiMap, OutputStream, boolean) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
 
serialize(MultiMap) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
This method is for backward compatibility.
serialize(MultiMap, boolean) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
 
SESSION_COOKIE_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag indicating if cookie will expire at the end of the browser session or in AgentConfiguration.getTokenLifetime() seconds
setCipherSuite(int) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the number representing which cipher suite to be used for token encryption.
setCookieDomain(String) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the domain to be used when writing a token as a cookie.
setCookiePath(String) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the path to be used when writing a token as a cookie.
setDetectMalformedAttributes(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the Detect Malformed Attribute value.
setNotBeforeTolerance(int) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the number of seconds in the future that validation of the not-before field will permit.
setObfuscatePassword(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets a flag indicating if the password should be obfuscated.
setObfuscatePasword(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Deprecated.  
setPassword(String) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the unobfuscated (clear) password that will be used.
setRemoveTrailingBackslash(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the Remove Trailing Backslash value.
setRenewUntilLifetime(int) - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns the span of time during which generated tokens will be acceptable for renewal.
setSecureCookie(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Returns a flag indicating if cookie will only be sent via secure transport (HTTPS).
setSessionCookie(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets a flag indicating if cookie will expire at the end of the browser session or in AgentConfiguration.getTokenLifetime() seconds.
setTokenLifetime(int) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the span of time during which generated tokens will be considered valid.
setTokenName(String) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the name to be used to identify the token (either as a query parameter or cookie).
setUseCookie(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets a flag indicating if the token will be exchanged using a cookie (or, alternatively, a query parameter)
setUseSunJCE(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets a flag indicating if the SunJCE provider should be used for Token encryption.
setUseVerboseErrorMessages(boolean) - Method in class com.pingidentity.opentoken.AgentConfiguration
Sets the indicator for verbose error messages in TokenException.
storeConfiguration(OutputStream) - Method in class com.pingidentity.opentoken.AgentConfiguration
Writes agent configuration to an OutputStream.
SUN_CRYPTO_PROVIDER - Static variable in class com.pingidentity.opentoken.Token
Sun JCE
suspendEncoding() - Method in class com.pingidentity.opentoken.util.Base64.OutputStream
Suspends encoding of the stream.

T

Token - Class in com.pingidentity.opentoken
Provides encoding/decoding of OpenTokens.
TOKEN_LIFETIME_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default number of seconds that token will be valid
TOKEN_NAME_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default name to use to identify the token (either as a query parameter or cookie)
TOKEN_NOT_BEFORE - Static variable in class com.pingidentity.opentoken.Agent
Key into token values collection for not-before value
TOKEN_NOT_ON_OR_AFTER - Static variable in class com.pingidentity.opentoken.Agent
Key into token values collection for not-on-or-after value
TOKEN_RENEW_UNTIL - Static variable in class com.pingidentity.opentoken.Agent
Key into token values collection for renew-until value
TOKEN_SUBJECT - Static variable in class com.pingidentity.opentoken.Agent
Key into token values collection for subject value
TokenException - Exception in com.pingidentity.opentoken
Exception to be thrown when a processing error occurs during OpenToken encoding/decoding
TokenException(String) - Constructor for exception com.pingidentity.opentoken.TokenException
 
TokenException(String, Throwable) - Constructor for exception com.pingidentity.opentoken.TokenException
 
TokenExpiredException - Exception in com.pingidentity.opentoken
Exception to be thrown when encountering an expired OpenToken
TokenExpiredException(String) - Constructor for exception com.pingidentity.opentoken.TokenExpiredException
 
toString() - Method in class com.pingidentity.opentoken.util.UrlHelper
Prints a String representation of the URL.

U

unescapeValue(String) - Static method in class com.pingidentity.opentoken.util.KeyValueSerializer
 
URL_SAFE - Static variable in class com.pingidentity.opentoken.util.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
UrlHelper - Class in com.pingidentity.opentoken.util
The UrlHelper class allows the addition of 1 or more parameter(s) for a given URL.
UrlHelper(String) - Constructor for class com.pingidentity.opentoken.util.UrlHelper
Create UrlHelper class with a given URL.
USE_COOKIE_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag indicating if the token will be exchanged using a cookie
USE_SUN_JCE_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag indicating if the SunJCE provider should be used for Token encryption
USE_VERBOSE_TOKEN_EXCEPTION_MESSAGES_DEFAULT - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Default flag indicating if verbose error messages should be used in TokenException
UTC_TZ - Static variable in class com.pingidentity.opentoken.AgentConfiguration
Timezone to use for not-before, not-on-or-after, and renew-until

W

write(int) - Method in class com.pingidentity.opentoken.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class com.pingidentity.opentoken.util.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
writeToken(Map, HttpServletResponse, String) - Method in class com.pingidentity.opentoken.Agent
Writes map of key/value pairs to a new token, then redirects to targetUrl.
writeToken(MultiMap, HttpServletResponse, String) - Method in class com.pingidentity.opentoken.Agent
Writes map key/value(s) pairs to a new token, then redirects to targetUrl.
writeToken(Map, HttpServletResponse, UrlHelper) - Method in class com.pingidentity.opentoken.Agent
Writes map of key/value pairs to a new token, then redirects to targetUrl.
writeToken(MultiMap, HttpServletResponse, UrlHelper) - Method in class com.pingidentity.opentoken.Agent
Writes map of key/value(s) pairs to a new token, then redirects to targetUrl.
writeToken(Map, HttpServletResponse, UrlHelper, boolean) - Method in class com.pingidentity.opentoken.Agent
Writes map of key/value pairs to a new token, then optionally redirects to targetUrl.
writeToken(MultiMap, HttpServletResponse, UrlHelper, boolean) - Method in class com.pingidentity.opentoken.Agent
Writes map of key/value(s) pairs to a new token, then optionally redirects to targetUrl.
writeToken(Map) - Method in class com.pingidentity.opentoken.Agent
Writes map of key/value pairs to a new token, returns token as a string.
writeToken(MultiMap) - Method in class com.pingidentity.opentoken.Agent
Writes map of key/value(s) pairs to a new token, returns token as a string.

A B C D E F G I K L N O P R S T U W

Copyright © 2012. All Rights Reserved.