org.apache.cocoon.shiro.sample.rest
Class LoginUser

java.lang.Object
  extended by org.apache.cocoon.shiro.rest.AbstractShiroLogin
      extended by org.apache.cocoon.shiro.sample.rest.LoginUser
All Implemented Interfaces:
Get, Post

public class LoginUser
extends AbstractShiroLogin


Field Summary
 
Fields inherited from class org.apache.cocoon.shiro.rest.AbstractShiroLogin
LOG, LOGIN_ATTEMPTS_COUNTER, LOGIN_ATTEMPTS_EXCEEDED, to
 
Constructor Summary
LoginUser()
           
 
Method Summary
protected  String getDefaultTo()
           
protected  String getErrorLogin()
           
protected  RestResponse getLoginPage(Map<String,Object> data)
           
 
Methods inherited from class org.apache.cocoon.shiro.rest.AbstractShiroLogin
doGet, doPost, getAllowedWrongAttempts, getErrorResponse, getSuccessResponse, getTo, isAttemptsExceeded, validatePreLogin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginUser

public LoginUser()
Method Detail

getLoginPage

protected RestResponse getLoginPage(Map<String,Object> data)
                             throws MalformedURLException
Specified by:
getLoginPage in class AbstractShiroLogin
Throws:
MalformedURLException

getDefaultTo

protected String getDefaultTo()
Specified by:
getDefaultTo in class AbstractShiroLogin

getErrorLogin

protected String getErrorLogin()
Specified by:
getErrorLogin in class AbstractShiroLogin


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.