This project has retired. For details please refer to its Attic page.
XmlRpcAuthenticator

org.apache.archiva.web.xmlrpc.security
Class XmlRpcAuthenticator

Package class diagram package XmlRpcAuthenticator
java.lang.Object
  extended by org.apache.archiva.web.xmlrpc.security.XmlRpcAuthenticator
All Implemented Interfaces:
org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.AuthenticationHandler

public class XmlRpcAuthenticator
extends java.lang.Object
implements org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.AuthenticationHandler

XmlRpcAuthenticator Custom authentication and authorization handler for xmlrpc requests.


Constructor Summary
XmlRpcAuthenticator(org.codehaus.plexus.redback.system.SecuritySystem securitySystem, UserRepositories userRepositories)
           
 
Method Summary
 java.lang.String getActiveUser()
           
 boolean isAuthorized(org.apache.xmlrpc.XmlRpcRequest pRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcAuthenticator

public XmlRpcAuthenticator(org.codehaus.plexus.redback.system.SecuritySystem securitySystem,
                           UserRepositories userRepositories)
Method Detail

isAuthorized

public boolean isAuthorized(org.apache.xmlrpc.XmlRpcRequest pRequest)
                     throws org.apache.xmlrpc.XmlRpcException
Specified by:
isAuthorized in interface org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.AuthenticationHandler
Throws:
org.apache.xmlrpc.XmlRpcException

getActiveUser

public java.lang.String getActiveUser()