A B C D E F G H I L M N O P R S T U V W X Y

A

AbstractProvider - Class in org.brickred.socialauth
It maintains the state of provider.
AbstractProvider() - Constructor for class org.brickred.socialauth.AbstractProvider
 
ALL - Static variable in class org.brickred.socialauth.Permission
 
AolImpl - Class in org.brickred.socialauth.provider
The implementation for the AOL provider.
AolImpl(Properties) - Constructor for class org.brickred.socialauth.provider.AolImpl
Reads properties provided in the configuration file
api(String, String, Map<String, String>, Map<String, String>, String) - Method in interface org.brickred.socialauth.AuthProvider
Makes OAuth signed HTTP request to a given URL for making any provider specific calls.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.AolImpl
 
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.FacebookImpl
Makes HTTP request to a given URL.It attaches access token in URL.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.FourSquareImpl
Makes HTTP request to a given URL.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.GoogleImpl
Makes OAuth signed HTTP - GET request to a given URL.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.HotmailImpl
Makes OAuth signed HTTP request to a given URL.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.LinkedInImpl
Makes OAuth signed HTTP request to a given URL.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.MySpaceImpl
Makes OAuth signed HTTP request to a given URL.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.OpenIdImpl
Not implemented for OpenId provider.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.TwitterImpl
Makes OAuth signed HTTP request to a given URL.
api(String, String, Map<String, String>, Map<String, String>, String) - Method in class org.brickred.socialauth.provider.YahooImpl
Makes OAuth signed HTTP request to a given URL.
AUHTHENTICATE_ONLY - Static variable in class org.brickred.socialauth.Permission
 
AuthProvider - Interface in org.brickred.socialauth
This is the main interface representing an authentication provider.
AuthProviderFactory - Class in org.brickred.socialauth
This is a factory which creates an instance of the requested provider based on the string passed as id.
AuthProviderFactory() - Constructor for class org.brickred.socialauth.AuthProviderFactory
 

B

Base64 - Class in org.brickred.socialauth.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.brickred.socialauth.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 org.brickred.socialauth.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.brickred.socialauth.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.brickred.socialauth.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 org.brickred.socialauth.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.brickred.socialauth.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
buildAuthUrl(String, Token, String) - Method in class org.brickred.socialauth.util.OAuthConsumer
Builds the auth url to redirect the user to, based from the given token and callback url.
buildParams(Map<String, String>) - Static method in class org.brickred.socialauth.util.HttpUtil
Generates a query string from given Map while sorting the parameters in the canonical order as required by oAuth before signing

C

close() - Method in class org.brickred.socialauth.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close() - Method in class org.brickred.socialauth.util.Response
Closes the connection
Constants - Interface in org.brickred.socialauth.util
OAuth constants
Contact - Class in org.brickred.socialauth
Data bean for contact information.
Contact() - Constructor for class org.brickred.socialauth.Contact
 
COUNTRY - Static variable in interface org.brickred.socialauth.AuthProvider
 
CURRENT_VERSION - Static variable in interface org.brickred.socialauth.util.Constants
"1.0"

D

DECODE - Static variable in class org.brickred.socialauth.util.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class org.brickred.socialauth.util.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.brickred.socialauth.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.brickred.socialauth.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class org.brickred.socialauth.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.brickred.socialauth.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.brickred.socialauth.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.brickred.socialauth.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeURIComponent(String) - Static method in class org.brickred.socialauth.util.HttpUtil
It decodes the given string
DEFAULT - Static variable in class org.brickred.socialauth.Permission
 
DOB - Static variable in interface org.brickred.socialauth.AuthProvider
 
doHttpRequest(String, String, String, Map<String, String>) - Static method in class org.brickred.socialauth.util.HttpUtil
Makes HTTP request using java.net.HTTPURLConnection
DONT_BREAK_LINES - Static variable in class org.brickred.socialauth.util.Base64
Don't break lines when encoding (violates strict Base64 specification)

E

EMAIL - Static variable in interface org.brickred.socialauth.AuthProvider
 
ENCODE - Static variable in class org.brickred.socialauth.util.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class org.brickred.socialauth.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.brickred.socialauth.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.brickred.socialauth.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.brickred.socialauth.util.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class org.brickred.socialauth.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.brickred.socialauth.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.brickred.socialauth.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.brickred.socialauth.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.brickred.socialauth.util.Base64
Convenience method for encoding data to a file.
encodeURIComponent(String) - Static method in class org.brickred.socialauth.util.HttpUtil
 
ENCODING - Static variable in interface org.brickred.socialauth.util.Constants
"UTF-8"
equals(Object) - Method in class org.brickred.socialauth.Permission
 
EXT_NAMESPACE - Static variable in interface org.brickred.socialauth.AuthProvider
 

F

FacebookImpl - Class in org.brickred.socialauth.provider
Provider implementation for Facebook
FacebookImpl(Properties) - Constructor for class org.brickred.socialauth.provider.FacebookImpl
Reads properties provided in the configuration file
FIRST_NAME - Static variable in interface org.brickred.socialauth.AuthProvider
 
flushBase64() - Method in class org.brickred.socialauth.util.Base64.OutputStream
Method added by PHIL.
FourSquareImpl - Class in org.brickred.socialauth.provider
Provider implementation for FourSquare.
FourSquareImpl(Properties) - Constructor for class org.brickred.socialauth.provider.FourSquareImpl
 
FULL_NAME - Static variable in interface org.brickred.socialauth.AuthProvider
 

G

GENDER - Static variable in interface org.brickred.socialauth.AuthProvider
 
generateSignature(String, String, String, Map<String, String>, Token) - Method in class org.brickred.socialauth.util.OAuthConsumer
It returns a signature for signing OAuth request.
get_consumerKey() - Method in class org.brickred.socialauth.util.OAuthConfig
Retrieves the consumer key
get_consumerSecret() - Method in class org.brickred.socialauth.util.OAuthConfig
Retrieves the consumer secret
get_signatureMethod() - Method in class org.brickred.socialauth.util.OAuthConfig
Retrieves the signature method
get_transportName() - Method in class org.brickred.socialauth.util.OAuthConfig
Retrieves the transport name
getAccessToken(String, Token) - Method in class org.brickred.socialauth.util.OAuthConsumer
It obtains the access token.
getAssociationURL(String) - Static method in class org.brickred.socialauth.util.OpenIdConsumer
Provides an association URL.
getAttribute(String) - Method in class org.brickred.socialauth.util.Token
Gets an attribute based from the given key.
getAttributes() - Method in class org.brickred.socialauth.util.Token
Gets the attributes of this token.
getAuthHeaderValue(Map<String, String>) - Method in class org.brickred.socialauth.util.OAuthConsumer
Generates Authorization header.
getContactList() - Method in interface org.brickred.socialauth.AuthProvider
Gets the list of contacts of the user and their email.
getContactList() - Method in class org.brickred.socialauth.provider.AolImpl
Gets the list of contacts of the user and their email.
getContactList() - Method in class org.brickred.socialauth.provider.FacebookImpl
Gets the list of contacts of the user.
getContactList() - Method in class org.brickred.socialauth.provider.FourSquareImpl
Gets the list of contacts of the user.
getContactList() - Method in class org.brickred.socialauth.provider.GoogleImpl
Gets the list of contacts of the user and their email.
getContactList() - Method in class org.brickred.socialauth.provider.HotmailImpl
Gets the list of contacts of the user and their email.
getContactList() - Method in class org.brickred.socialauth.provider.LinkedInImpl
Gets the list of contacts of the user and their email.
getContactList() - Method in class org.brickred.socialauth.provider.MySpaceImpl
Gets the list of contacts of the user and their profile URL.
getContactList() - Method in class org.brickred.socialauth.provider.OpenIdImpl
Contact list is not available for generic Open ID providers.
getContactList() - Method in class org.brickred.socialauth.provider.TwitterImpl
Gets the list of followers of the user and their screen name.
getContactList() - Method in class org.brickred.socialauth.provider.YahooImpl
Gets the list of contacts of the user and their email.
getCountry() - Method in class org.brickred.socialauth.Profile
Retrieves the country
getDisplayName() - Method in class org.brickred.socialauth.Contact
Retrieves the display name
getDisplayName() - Method in class org.brickred.socialauth.Profile
Retrieves the display name
getDob() - Method in class org.brickred.socialauth.Profile
Retrieves the date of birth
getDocumentBuilder() - Static method in class org.brickred.socialauth.util.XMLParseUtil
Returns a DocumentBuilder, which is used for parsing XML documents.
getElementData(Node) - Static method in class org.brickred.socialauth.util.XMLParseUtil
Static helper function to get the element data of the specified node.
getElementData(Element, String) - Static method in class org.brickred.socialauth.util.XMLParseUtil
Gets the text value of the specified element.
getEmail() - Method in class org.brickred.socialauth.Contact
Returns the email address.
getEmail() - Method in class org.brickred.socialauth.Profile
Returns the email address.
getFirstName() - Method in class org.brickred.socialauth.Contact
Retrieves the first name
getFirstName() - Method in class org.brickred.socialauth.Profile
Retrieves the first name
getFullName() - Method in class org.brickred.socialauth.Profile
Retrieves the full name
getGender() - Method in class org.brickred.socialauth.Profile
Retrieves the gender
getHeader(String) - Method in class org.brickred.socialauth.util.Response
 
getInputStream() - Method in class org.brickred.socialauth.util.Response
Gets the response content via InputStream.
getInstance(String) - Static method in class org.brickred.socialauth.AuthProviderFactory
It provides the instance of requested provider
getInstance(String, String) - Static method in class org.brickred.socialauth.AuthProviderFactory
 
getInstance(String, ClassLoader) - Static method in class org.brickred.socialauth.AuthProviderFactory
 
getInstance(String, String, ClassLoader) - Static method in class org.brickred.socialauth.AuthProviderFactory
 
getInstance(String, Properties) - Static method in class org.brickred.socialauth.AuthProviderFactory
 
getKey() - Method in class org.brickred.socialauth.util.Token
Retrieves the Token Key
getLanguage() - Method in class org.brickred.socialauth.Profile
Retrieves the language
getLastName() - Method in class org.brickred.socialauth.Contact
Retrieves the last name
getLastName() - Method in class org.brickred.socialauth.Profile
Retrieves the last name
getLocation() - Method in class org.brickred.socialauth.Profile
Retrieves the location
getLoginRedirectURL(String) - Method in interface org.brickred.socialauth.AuthProvider
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.AolImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.FacebookImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.FourSquareImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.GoogleImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.HotmailImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.LinkedInImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.MySpaceImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.OpenIdImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.TwitterImpl
This is the most important action.
getLoginRedirectURL(String) - Method in class org.brickred.socialauth.provider.YahooImpl
This is the most important action.
getOtherEmails() - Method in class org.brickred.socialauth.Contact
Retrieves the contact person emails
getProfileImageURL() - Method in class org.brickred.socialauth.Profile
Retrieves the profile image URL
getProfileUrl() - Method in class org.brickred.socialauth.Contact
Retrieves the contact person Public profile URL
getRequestToken(String, String) - Method in class org.brickred.socialauth.util.OAuthConsumer
It obtains the request token.
getRequestTokenURL(String, String, String, String, String, String) - Static method in class org.brickred.socialauth.util.OpenIdConsumer
It obtains the request token.
getResponseBodyAsString(String) - Method in class org.brickred.socialauth.util.Response
Gets the response content as String using given encoding
getSecret() - Method in class org.brickred.socialauth.util.Token
Retrieves the Token Secret
getStatus() - Method in class org.brickred.socialauth.util.Response
Gets the response HTTP status.
getUserInfo(HttpServletRequest) - Static method in class org.brickred.socialauth.util.OpenIdConsumer
Parses the user info from request
getUserProfile() - Method in interface org.brickred.socialauth.AuthProvider
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.AolImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.FacebookImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.FourSquareImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.GoogleImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.HotmailImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.LinkedInImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.MySpaceImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.OpenIdImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.TwitterImpl
Retrieves the user profile.
getUserProfile() - Method in class org.brickred.socialauth.provider.YahooImpl
Retrieves the user profile.
getValidatedId() - Method in class org.brickred.socialauth.Profile
Retrieves the validated id
GoogleImpl - Class in org.brickred.socialauth.provider
Provider implementation for Google
GoogleImpl(Properties) - Constructor for class org.brickred.socialauth.provider.GoogleImpl
 
GZIP - Static variable in class org.brickred.socialauth.util.Base64
Specify that data should be gzip-compressed.

H

HMACSHA1_SIGNATURE - Static variable in interface org.brickred.socialauth.util.Constants
HMAC-SHA1
HotmailImpl - Class in org.brickred.socialauth.provider
Implementation of Hotmail provider.
HotmailImpl(Properties) - Constructor for class org.brickred.socialauth.provider.HotmailImpl
 
httpGet(String, Map<String, String>, Token) - Method in class org.brickred.socialauth.util.OAuthConsumer
Does an HTTP GET request.
httpPost(String, Map<String, String>, Map<String, String>, String, Token) - Method in class org.brickred.socialauth.util.OAuthConsumer
Does an HTTP POST request.
httpPut(String, Map<String, String>, Map<String, String>, String, Token) - Method in class org.brickred.socialauth.util.OAuthConsumer
Does an HTTP PUT request.
httpPut(String, Map<String, String>, Map<String, String>, String, Token, boolean) - Method in class org.brickred.socialauth.util.OAuthConsumer
Does an HTTP PUT request.
HttpUtil - Class in org.brickred.socialauth.util
This class is used to make HTTP requests.
HttpUtil() - Constructor for class org.brickred.socialauth.util.HttpUtil
 

I

isProviderState() - Method in class org.brickred.socialauth.AbstractProvider
Returns the provider state.

L

LANGUAGE - Static variable in interface org.brickred.socialauth.AuthProvider
 
LAST_NAME - Static variable in interface org.brickred.socialauth.AuthProvider
 
LinkedInImpl - Class in org.brickred.socialauth.provider
Implementation of Hotmail provider.
LinkedInImpl(Properties) - Constructor for class org.brickred.socialauth.provider.LinkedInImpl
 
load(Properties, String) - Static method in class org.brickred.socialauth.util.OAuthConfig
It loads the configuration information from given properties for the given domain
loadXmlResource(String) - Static method in class org.brickred.socialauth.util.XMLParseUtil
Loads the xml file into an xml document and returns the root element.
loadXmlResource(InputStream) - Static method in class org.brickred.socialauth.util.XMLParseUtil
Loads the imput stream and returns the root element.
logout() - Method in interface org.brickred.socialauth.AuthProvider
Logout
logout() - Method in class org.brickred.socialauth.provider.AolImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.FacebookImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.FourSquareImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.GoogleImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.HotmailImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.LinkedInImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.MySpaceImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.OpenIdImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.TwitterImpl
Logout
logout() - Method in class org.brickred.socialauth.provider.YahooImpl
Logout

M

main(String[]) - Static method in class org.brickred.socialauth.util.Base64
Encodes or decodes two files from the command line; feel free to delete this method (in fact you probably should) if you're embedding this code into a larger program.
MethodType - Enum in org.brickred.socialauth.util
It defines the HTTP Method Types
MySpaceImpl - Class in org.brickred.socialauth.provider
Provider implementation for Myspace
MySpaceImpl(Properties) - Constructor for class org.brickred.socialauth.provider.MySpaceImpl
 

N

NICK_NAME - Static variable in interface org.brickred.socialauth.AuthProvider
 
NO_OPTIONS - Static variable in class org.brickred.socialauth.util.Base64
No options specified.

O

OAUTH_ACCESS_TOKEN_URL - Static variable in interface org.brickred.socialauth.util.Constants
access token url
OAUTH_CALLBACK - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_callback"
OAUTH_CALLBACK_CONFIRMED - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_callback_confirmed"
OAUTH_CONSUMER_KEY - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_consumer_key"
OAUTH_NONCE - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_nonce"
OAUTH_PROBLEM - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_problem"
OAUTH_REQUEST_TOKEN_URL - Static variable in interface org.brickred.socialauth.util.Constants
request token url
OAUTH_SIGNATURE - Static variable in interface org.brickred.socialauth.util.Constants
oauth_signature
OAUTH_SIGNATURE_METHOD - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_signature_method"
OAUTH_TIMESTAMP - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_timestamp"
OAUTH_TOKEN - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_token"
OAUTH_TOKEN_SECRET - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_token_secret"
OAUTH_VERIFIER - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_verifier"
OAUTH_VERSION - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_version"
OAuthConfig - Class in org.brickred.socialauth.util
It contains the configuration of application like consumer key and consumer secret
OAuthConfig(String, String, String, String) - Constructor for class org.brickred.socialauth.util.OAuthConfig
 
OAuthConsumer - Class in org.brickred.socialauth.util
It contains various method those are required for OAUTH
OAuthConsumer(OAuthConfig) - Constructor for class org.brickred.socialauth.util.OAuthConsumer
 
OOB - Static variable in interface org.brickred.socialauth.util.Constants
"oob"
OPENID_REQUEST_TOKEN - Static variable in class org.brickred.socialauth.util.OpenIdConsumer
 
OpenIdConsumer - Class in org.brickred.socialauth.util
 
OpenIdConsumer() - Constructor for class org.brickred.socialauth.util.OpenIdConsumer
 
OpenIdImpl - Class in org.brickred.socialauth.provider
Implementation of Open ID provider.
OpenIdImpl(Properties) - Constructor for class org.brickred.socialauth.provider.OpenIdImpl
 
ORDERED - Static variable in class org.brickred.socialauth.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.brickred.socialauth - package org.brickred.socialauth
 
org.brickred.socialauth.exception - package org.brickred.socialauth.exception
 
org.brickred.socialauth.provider - package org.brickred.socialauth.provider
 
org.brickred.socialauth.util - package org.brickred.socialauth.util
 

P

Permission - Class in org.brickred.socialauth
 
POSTCODE - Static variable in interface org.brickred.socialauth.AuthProvider
 
PREFIX - Static variable in interface org.brickred.socialauth.util.Constants
"oauth_"
Profile - Class in org.brickred.socialauth
Data bean for profile information.
Profile() - Constructor for class org.brickred.socialauth.Profile
 
ProviderStateException - Exception in org.brickred.socialauth.exception
 
ProviderStateException() - Constructor for exception org.brickred.socialauth.exception.ProviderStateException
 
putNonceAndTimestamp(Map<String, String>) - Method in class org.brickred.socialauth.util.OAuthConsumer
Adds nonce and timestamp in given parameter map.

R

read() - Method in class org.brickred.socialauth.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 org.brickred.socialauth.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
registerProvider(String, Class) - Static method in class org.brickred.socialauth.AuthProviderFactory
It register a new provider in AuthProviderFactory.
Response - Class in org.brickred.socialauth.util
Encapsulates the HTTP status, headers and the content.
resumeEncoding() - Method in class org.brickred.socialauth.util.Base64.OutputStream
Resumes encoding of the stream.

S

ServerDataException - Exception in org.brickred.socialauth.exception
 
ServerDataException() - Constructor for exception org.brickred.socialauth.exception.ServerDataException
 
ServerDataException(String) - Constructor for exception org.brickred.socialauth.exception.ServerDataException
 
ServerDataException(String, Throwable) - Constructor for exception org.brickred.socialauth.exception.ServerDataException
 
ServerDataException(Throwable) - Constructor for exception org.brickred.socialauth.exception.ServerDataException
 
setAttribute(String, Object) - Method in class org.brickred.socialauth.util.Token
Sets an attribute based from the given key and value.
setCountry(String) - Method in class org.brickred.socialauth.Profile
Updates the country
setDisplayName(String) - Method in class org.brickred.socialauth.Contact
Updates the display name
setDisplayName(String) - Method in class org.brickred.socialauth.Profile
Updates the display name
setDob(String) - Method in class org.brickred.socialauth.Profile
Updates the date of birth
setEmail(String) - Method in class org.brickred.socialauth.Contact
Updates the email
setEmail(String) - Method in class org.brickred.socialauth.Profile
Updates the email
setFirstName(String) - Method in class org.brickred.socialauth.Contact
Updates the first name
setFirstName(String) - Method in class org.brickred.socialauth.Profile
Updates the first name
setFullName(String) - Method in class org.brickred.socialauth.Profile
Updates the full name
setGender(String) - Method in class org.brickred.socialauth.Profile
Updates the gender
setKey(String) - Method in class org.brickred.socialauth.util.Token
Updates the Token Key
setLanguage(String) - Method in class org.brickred.socialauth.Profile
Updates the language
setLastName(String) - Method in class org.brickred.socialauth.Contact
Updates the last name
setLastName(String) - Method in class org.brickred.socialauth.Profile
Updates the last name
setLocation(String) - Method in class org.brickred.socialauth.Profile
Updates the location
setOtherEmails(String[]) - Method in class org.brickred.socialauth.Contact
 
setPermission(Permission) - Method in interface org.brickred.socialauth.AuthProvider
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.AolImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.FacebookImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.FourSquareImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.GoogleImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.HotmailImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.LinkedInImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.MySpaceImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.OpenIdImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.TwitterImpl
 
setPermission(Permission) - Method in class org.brickred.socialauth.provider.YahooImpl
 
setProfileImageURL(String) - Method in class org.brickred.socialauth.Profile
Updates the profile image URL
setProfileUrl(String) - Method in class org.brickred.socialauth.Contact
Updates the contact person Public profile URL
setProviderState(boolean) - Method in class org.brickred.socialauth.AbstractProvider
Updates the provider state.
setSecret(String) - Method in class org.brickred.socialauth.util.Token
Updates the Token Secret
setValidatedId(String) - Method in class org.brickred.socialauth.Profile
Updates the validated id
SignatureException - Exception in org.brickred.socialauth.exception
 
SignatureException() - Constructor for exception org.brickred.socialauth.exception.SignatureException
 
SignatureException(String) - Constructor for exception org.brickred.socialauth.exception.SignatureException
 
SignatureException(Throwable) - Constructor for exception org.brickred.socialauth.exception.SignatureException
 
SignatureException(String, Throwable) - Constructor for exception org.brickred.socialauth.exception.SignatureException
 
SocialAuthConfigurationException - Exception in org.brickred.socialauth.exception
 
SocialAuthConfigurationException() - Constructor for exception org.brickred.socialauth.exception.SocialAuthConfigurationException
 
SocialAuthConfigurationException(String) - Constructor for exception org.brickred.socialauth.exception.SocialAuthConfigurationException
 
SocialAuthConfigurationException(Throwable) - Constructor for exception org.brickred.socialauth.exception.SocialAuthConfigurationException
 
SocialAuthConfigurationException(String, Throwable) - Constructor for exception org.brickred.socialauth.exception.SocialAuthConfigurationException
 
SocialAuthException - Exception in org.brickred.socialauth.exception
 
SocialAuthException() - Constructor for exception org.brickred.socialauth.exception.SocialAuthException
 
SocialAuthException(String) - Constructor for exception org.brickred.socialauth.exception.SocialAuthException
 
SocialAuthException(Throwable) - Constructor for exception org.brickred.socialauth.exception.SocialAuthException
 
SocialAuthException(String, Throwable) - Constructor for exception org.brickred.socialauth.exception.SocialAuthException
 
suspendEncoding() - Method in class org.brickred.socialauth.util.Base64.OutputStream
Suspends encoding of the stream.

T

Token - Class in org.brickred.socialauth.util
Stores the keys and secret for OAuth access token as well as OAuth request token.
Token(String, String) - Constructor for class org.brickred.socialauth.util.Token
 
Token() - Constructor for class org.brickred.socialauth.util.Token
 
toString() - Method in class org.brickred.socialauth.Contact
Retrieves the profile info as a string
toString() - Method in exception org.brickred.socialauth.exception.ProviderStateException
 
toString() - Method in class org.brickred.socialauth.Permission
 
toString() - Method in class org.brickred.socialauth.Profile
Retrieves the profile info as a string
toString() - Method in class org.brickred.socialauth.util.Token
 
TwitterImpl - Class in org.brickred.socialauth.provider
Twitter implementation of the provider.
TwitterImpl(Properties) - Constructor for class org.brickred.socialauth.provider.TwitterImpl
 

U

updateStatus(String) - Method in interface org.brickred.socialauth.AuthProvider
Updates the status on the chosen provider if available.
updateStatus(String) - Method in class org.brickred.socialauth.provider.AolImpl
Updates the status on the chosen provider if available.
updateStatus(String) - Method in class org.brickred.socialauth.provider.FacebookImpl
Updates the status on the chosen provider if available.
updateStatus(String) - Method in class org.brickred.socialauth.provider.FourSquareImpl
Updates the status on the chosen provider if available.
updateStatus(String) - Method in class org.brickred.socialauth.provider.GoogleImpl
 
updateStatus(String) - Method in class org.brickred.socialauth.provider.HotmailImpl
Updates the status on the chosen provider if available.
updateStatus(String) - Method in class org.brickred.socialauth.provider.LinkedInImpl
 
updateStatus(String) - Method in class org.brickred.socialauth.provider.MySpaceImpl
Updates the status on the chosen provider if available.
updateStatus(String) - Method in class org.brickred.socialauth.provider.OpenIdImpl
Updating status is not available for generic Open ID providers.
updateStatus(String) - Method in class org.brickred.socialauth.provider.TwitterImpl
Updates the status on Twitter.
updateStatus(String) - Method in class org.brickred.socialauth.provider.YahooImpl
Updates the status on the chosen provider if available.
URL_SAFE - Static variable in class org.brickred.socialauth.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.
UserDeniedPermissionException - Exception in org.brickred.socialauth.exception
 
UserDeniedPermissionException() - Constructor for exception org.brickred.socialauth.exception.UserDeniedPermissionException
 
UserDeniedPermissionException(String) - Constructor for exception org.brickred.socialauth.exception.UserDeniedPermissionException
 
UserDeniedPermissionException(Throwable) - Constructor for exception org.brickred.socialauth.exception.UserDeniedPermissionException
 
UserDeniedPermissionException(String, Throwable) - Constructor for exception org.brickred.socialauth.exception.UserDeniedPermissionException
 

V

valueOf(String) - Static method in enum org.brickred.socialauth.util.MethodType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.brickred.socialauth.util.MethodType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyResponse(HttpServletRequest) - Method in interface org.brickred.socialauth.AuthProvider
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.AolImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.FacebookImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.FourSquareImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.GoogleImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.HotmailImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.LinkedInImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.MySpaceImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.OpenIdImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.TwitterImpl
Verifies the user when the external provider redirects back to our application.
verifyResponse(HttpServletRequest) - Method in class org.brickred.socialauth.provider.YahooImpl
Verifies the user when the external provider redirects back to our application.

W

write(int) - Method in class org.brickred.socialauth.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.brickred.socialauth.util.Base64.OutputStream
Calls write(int) repeatedly until len bytes are written.

X

XMLParseUtil - Class in org.brickred.socialauth.util
This is a utility class, which is used to read the xml files.
XMLParseUtil() - Constructor for class org.brickred.socialauth.util.XMLParseUtil
 

Y

YahooImpl - Class in org.brickred.socialauth.provider
Provider implementation for Yahoo.
YahooImpl(Properties) - Constructor for class org.brickred.socialauth.provider.YahooImpl
 

A B C D E F G H I L M N O P R S T U V W X Y

Copyright © 2011. All Rights Reserved.