aerogear-security 1.3.1

org.jboss.aerogear.security.web.filter
Class PasswordHandlerConfig

java.lang.Object
  extended by org.jboss.aerogear.security.web.filter.PasswordHandlerConfig

public class PasswordHandlerConfig
extends Object

Utility class for the Token handling containing configuration locations. Please note that the Class expects in META-INF/config.properties that contains your secret.


Constructor Summary
PasswordHandlerConfig()
           
 
Method Summary
static String getRedirectPage()
          Returns the page to which the intercepted request has to be redirected if the Token is valid
static String getSecret()
           
static void loadFilterConfig(javax.servlet.FilterConfig config)
          Loads the {org.jboss.aerogear.security.web.filter.PasswordHandler} {FilterConfig} configuration.
static String uri(String id)
          Returns the an uri based on the Token ID and the base URL provided in the Web Descriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordHandlerConfig

public PasswordHandlerConfig()
Method Detail

loadFilterConfig

public static void loadFilterConfig(javax.servlet.FilterConfig config)
Loads the {org.jboss.aerogear.security.web.filter.PasswordHandler} {FilterConfig} configuration.

Parameters:
config -

uri

public static String uri(String id)
Returns the an uri based on the Token ID and the base URL provided in the Web Descriptor

Parameters:
id -
Returns:

getSecret

public static String getSecret()
Returns:
a String representing the secret

getRedirectPage

public static String getRedirectPage()
Returns the page to which the intercepted request has to be redirected if the Token is valid

Returns:

aerogear-security 1.3.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.