|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletAuthenticator
Method Summary | |
---|---|
boolean |
isAuthenticated(javax.servlet.http.HttpServletRequest request,
org.codehaus.plexus.redback.authentication.AuthenticationResult result)
Authentication check for users. |
boolean |
isAuthorized(javax.servlet.http.HttpServletRequest request,
org.codehaus.plexus.redback.system.SecuritySession securitySession,
java.lang.String repositoryId,
java.lang.String permission)
Authorization check for valid users. |
boolean |
isAuthorized(java.lang.String principal,
java.lang.String repoId,
java.lang.String permission)
Authorization check specific for user guest, which doesn't go through HttpBasicAuthentication#getAuthenticationResult( HttpServletRequest request, HttpServletResponse response ) since no credentials are attached to the request. |
Method Detail |
---|
boolean isAuthenticated(javax.servlet.http.HttpServletRequest request, org.codehaus.plexus.redback.authentication.AuthenticationResult result) throws org.codehaus.plexus.redback.authentication.AuthenticationException, org.codehaus.plexus.redback.policy.AccountLockedException, org.codehaus.plexus.redback.policy.MustChangePasswordException
request
- result
-
org.codehaus.plexus.redback.authentication.AuthenticationException
org.codehaus.plexus.redback.policy.AccountLockedException
org.codehaus.plexus.redback.policy.MustChangePasswordException
boolean isAuthorized(javax.servlet.http.HttpServletRequest request, org.codehaus.plexus.redback.system.SecuritySession securitySession, java.lang.String repositoryId, java.lang.String permission) throws org.codehaus.plexus.redback.authorization.AuthorizationException, org.codehaus.plexus.redback.authorization.UnauthorizedException
request
- securitySession
- repositoryId
- isWriteRequest
-
org.codehaus.plexus.redback.authorization.AuthorizationException
org.codehaus.plexus.redback.authorization.UnauthorizedException
boolean isAuthorized(java.lang.String principal, java.lang.String repoId, java.lang.String permission) throws org.codehaus.plexus.redback.authorization.UnauthorizedException
principal
- repoId
- isWriteRequest
-
org.codehaus.plexus.redback.authorization.UnauthorizedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |