Class AdminRepositoryAuthentication
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.plugins.repositoryapp.authentication.AdminRepositoryAuthentication
-
- All Implemented Interfaces:
RepositoryAuthentication
,Contextualizable
,LogEnabled
public class AdminRepositoryAuthentication extends AbstractLogEnabled implements RepositoryAuthentication, Contextualizable
Authentication for the repository application looking for the administrator login and password.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADMINISTRATOR_PASSWORD_FILENAME
Location of the administrator password relative to ametys homestatic String
REQUEST_ATTRIBUTE_SUPER_USER
The request attribute name for telling that super user is logged in.
-
Constructor Summary
Constructors Constructor Description AdminRepositoryAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
The cocoon context, initialized during the contextualize method-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
ADMINISTRATOR_PASSWORD_FILENAME
public static final String ADMINISTRATOR_PASSWORD_FILENAME
Location of the administrator password relative to ametys home- See Also:
- Constant Field Values
-
REQUEST_ATTRIBUTE_SUPER_USER
public static final String REQUEST_ATTRIBUTE_SUPER_USER
The request attribute name for telling that super user is logged in.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdminRepositoryAuthentication
public AdminRepositoryAuthentication()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
The cocoon context, initialized during the contextualize method- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
-