com.hyper9.vangaea.server.rest
Class AuthdResource<T extends com.hyper9.common.beans.Bean>

java.lang.Object
  extended by org.restlet.resource.UniformResource
      extended by org.restlet.resource.ServerResource
          extended by com.hyper9.vangaea.server.rest.BaseResource<T>
              extended by com.hyper9.vangaea.server.rest.AuthdResource<T>
Type Parameters:
T - The type of bean this resource processes.
Direct Known Subclasses:
VirtResource

public abstract class AuthdResource<T extends com.hyper9.common.beans.Bean>
extends BaseResource<T>

The resource for authenticated requests.

Author:
akutz

Field Summary
protected  AuthCookieBean authCookie
          The authentication cookie bean.
protected  java.lang.String key
          The encryption/decryption key.
protected  UserBean user
          The authenticated user bean.
 
Fields inherited from class com.hyper9.vangaea.server.rest.BaseResource
conn, initCallbacks, preProcessBeanCallbacks, rootPathPath
 
Constructor Summary
AuthdResource()
          Initializes a new instance of the AuthdResource class.
 
Method Summary
 
Methods inherited from class com.hyper9.vangaea.server.rest.BaseResource
doCatch, doInit, doRelease, get, getAuthCookieName, getAuthCookieValue, getBaseUrl, getBeans, getRedirectUri, getSystemProperty, isAnnotated, isDefaultHttpPort, isDefaultHttpsPort, isDefaultHttpsPort
 
Methods inherited from class org.restlet.resource.ServerResource
delete, delete, describeVariants, doConditionalHandle, doHandle, doHandle, doNegotiatedHandle, get, getInfo, getInfo, getPreferredVariant, getVariants, getVariants, handle, head, head, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setChallengeRequests, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setServerInfo, setStatus, setStatus, setStatus, setStatus, setVariants, updateAllowedMethods, updateDimensions
 
Methods inherited from class org.restlet.resource.UniformResource
getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getContext, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestEntity, getResponse, getResponseAttributes, getResponseEntity, getRootRef, getServerInfo, getStatus, init, isConfidential, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

protected UserBean user
The authenticated user bean.


authCookie

protected AuthCookieBean authCookie
The authentication cookie bean.


key

protected java.lang.String key
The encryption/decryption key.

Constructor Detail

AuthdResource

public AuthdResource()
Initializes a new instance of the AuthdResource class.



Copyright © 2009 Hyper9. All Rights Reserved.