com.day.cq.security.impl.resource
Class AuthorizableRequestProperties

java.lang.Object
  extended by com.day.cq.security.impl.resource.AuthorizableRequestProperties

public class AuthorizableRequestProperties
extends Object

Provieds access to relevant RequestParameter via getter. Thus it provieds the "mapping" of Parameter names to Objekt-Properties. todo: check for further delete suffixes


Field Summary
protected static String DEFAULT_PASSWORD_DIGEST
           
protected static String[] IGNORED_PARAMETER
           
protected static String MEMBER_ACTION_MEBERS
           
protected static String MEMBER_ACTION_MEBERSHIP
           
protected static String MEMBER_ACTION_SUDOERS
           
protected static String PARAM_DELETE
           
protected static String PARAM_EMAIL
           
static String PARAM_FIRST_NAME
           
protected static String PARAM_GROUP_NAME
           
protected static String PARAM_MEMBER_ACTION
           
protected static String PARAM_MEMBER_ENTRIES
           
static String PARAM_NAME
           
protected static String PARAM_PASSWORD
           
protected static String PARAM_PRIVILEGES
           
protected static String PARAM_PWDDIGEST
           
protected static String PARAM_USERID
           
protected static String PREFIX_CQ
           
protected static String SUFFIX_DELETE
           
 
Constructor Summary
AuthorizableRequestProperties(org.apache.sling.api.request.RequestParameterMap parameter)
           
 
Method Summary
 String getDigest()
           
 String getGroupName()
           
 org.apache.sling.api.request.RequestParameter[] getMembers()
           
 org.apache.sling.api.request.RequestParameter[] getMembership()
           
 String getPassword()
           
 org.apache.sling.api.request.RequestParameter[] getPrivileges()
           
 Map<String,org.apache.sling.api.request.RequestParameter[]> getProperties()
           
 org.apache.sling.api.request.RequestParameter[] getSudoers()
           
 String getUserID()
           
 boolean hasPrivileges()
           
 boolean isCreate()
           
 boolean isDelete()
           
 boolean isUser()
           
 boolean setPassword()
           
 boolean setsMembers()
           
 boolean setsMembership()
           
 boolean setsPassword()
           
 boolean setsSudoers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX_CQ

protected static final String PREFIX_CQ
See Also:
Constant Field Values

PARAM_NAME

public static final String PARAM_NAME
See Also:
Constant Field Values

PARAM_FIRST_NAME

public static final String PARAM_FIRST_NAME
See Also:
Constant Field Values

PARAM_DELETE

protected static final String PARAM_DELETE
See Also:
Constant Field Values

PARAM_MEMBER_ACTION

protected static final String PARAM_MEMBER_ACTION
See Also:
Constant Field Values

PARAM_USERID

protected static final String PARAM_USERID
See Also:
Constant Field Values

PARAM_PASSWORD

protected static final String PARAM_PASSWORD
See Also:
Constant Field Values

PARAM_EMAIL

protected static final String PARAM_EMAIL
See Also:
Constant Field Values

PARAM_GROUP_NAME

protected static final String PARAM_GROUP_NAME
See Also:
Constant Field Values

PARAM_PWDDIGEST

protected static final String PARAM_PWDDIGEST
See Also:
Constant Field Values

PARAM_PRIVILEGES

protected static final String PARAM_PRIVILEGES
See Also:
Constant Field Values

MEMBER_ACTION_MEBERSHIP

protected static final String MEMBER_ACTION_MEBERSHIP
See Also:
Constant Field Values

MEMBER_ACTION_MEBERS

protected static final String MEMBER_ACTION_MEBERS
See Also:
Constant Field Values

MEMBER_ACTION_SUDOERS

protected static final String MEMBER_ACTION_SUDOERS
See Also:
Constant Field Values

PARAM_MEMBER_ENTRIES

protected static final String PARAM_MEMBER_ENTRIES
See Also:
Constant Field Values

SUFFIX_DELETE

protected static final String SUFFIX_DELETE
See Also:
Constant Field Values

DEFAULT_PASSWORD_DIGEST

protected static final String DEFAULT_PASSWORD_DIGEST
See Also:
Constant Field Values

IGNORED_PARAMETER

protected static final String[] IGNORED_PARAMETER
Constructor Detail

AuthorizableRequestProperties

public AuthorizableRequestProperties(org.apache.sling.api.request.RequestParameterMap parameter)
Method Detail

isUser

public boolean isUser()

isDelete

public boolean isDelete()

isCreate

public boolean isCreate()

setsPassword

public boolean setsPassword()

setsMembers

public boolean setsMembers()

setsMembership

public boolean setsMembership()

setsSudoers

public boolean setsSudoers()

setPassword

public boolean setPassword()

hasPrivileges

public boolean hasPrivileges()

getUserID

public String getUserID()

getMembership

public org.apache.sling.api.request.RequestParameter[] getMembership()

getMembers

public org.apache.sling.api.request.RequestParameter[] getMembers()

getSudoers

public org.apache.sling.api.request.RequestParameter[] getSudoers()

getPassword

public String getPassword()

getDigest

public String getDigest()

getPrivileges

public org.apache.sling.api.request.RequestParameter[] getPrivileges()

getGroupName

public String getGroupName()

getProperties

public Map<String,org.apache.sling.api.request.RequestParameter[]> getProperties()


Copyright © 2008 Day Management AG. All Rights Reserved.