|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.filesys.auth.nfs.AlfrescoRpcAuthenticator
public class AlfrescoRpcAuthenticator
Alfresco RPC Authenticator Class
Provides authentication support for the NFS server.
| Constructor Summary | |
|---|---|
AlfrescoRpcAuthenticator()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initialize the RPC authenticator |
java.lang.Object |
authenticateRpcClient(int authType,
org.alfresco.jlan.oncrpc.RpcPacket rpc)
Authenticate an RPC client and create a unique session id key. |
protected javax.transaction.UserTransaction |
createTransaction()
Create a transaction, this will be a writable transaction unless the system is in read-only mode. |
protected AuthenticationComponent |
getAuthenticationComponent()
|
protected AuthenticationService |
getAuthenticationService()
|
int[] |
getRpcAuthenticationTypes()
Return the authentication types that are supported by this implementation. |
org.alfresco.jlan.server.auth.ClientInfo |
getRpcClientInformation(java.lang.Object sessKey,
org.alfresco.jlan.oncrpc.RpcPacket rpc)
Return the client information for the specified RPC request |
protected TransactionService |
getTransactionService()
|
void |
initialize(org.alfresco.jlan.server.config.ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
Initialize the RPC authenticator |
void |
setAuthenticationComponent(AuthenticationComponent authenticationComponent)
|
void |
setAuthenticationService(AuthenticationService authenticationService)
|
void |
setCurrentUser(org.alfresco.jlan.server.SrvSession sess,
org.alfresco.jlan.server.auth.ClientInfo client)
Set the current authenticated user context for this thread |
void |
setTransactionService(TransactionService transactionService)
|
void |
setUserMappings(java.util.List userMappings)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlfrescoRpcAuthenticator()
| Method Detail |
|---|
public void setUserMappings(java.util.List userMappings)
public void setAuthenticationComponent(AuthenticationComponent authenticationComponent)
public void setAuthenticationService(AuthenticationService authenticationService)
public void setTransactionService(TransactionService transactionService)
public java.lang.Object authenticateRpcClient(int authType,
org.alfresco.jlan.oncrpc.RpcPacket rpc)
throws org.alfresco.jlan.oncrpc.RpcAuthenticationException
authenticateRpcClient in interface org.alfresco.jlan.oncrpc.RpcAuthenticatorauthType - intrpc - RpcPacket
org.alfresco.jlan.oncrpc.RpcAuthenticationExceptionpublic int[] getRpcAuthenticationTypes()
getRpcAuthenticationTypes in interface org.alfresco.jlan.oncrpc.RpcAuthenticator
public org.alfresco.jlan.server.auth.ClientInfo getRpcClientInformation(java.lang.Object sessKey,
org.alfresco.jlan.oncrpc.RpcPacket rpc)
getRpcClientInformation in interface org.alfresco.jlan.oncrpc.RpcAuthenticatorsessKey - Objectrpc - RpcPacket
public void setCurrentUser(org.alfresco.jlan.server.SrvSession sess,
org.alfresco.jlan.server.auth.ClientInfo client)
setCurrentUser in interface org.alfresco.jlan.oncrpc.RpcAuthenticatorsess - SrvSessionclient - ClientInfo
public void initialize(org.alfresco.jlan.server.config.ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
throws org.alfresco.jlan.server.config.InvalidConfigurationException
initialize in interface org.alfresco.jlan.oncrpc.RpcAuthenticatorconfig - ServerConfigurationparams - NameValueList
org.alfresco.jlan.server.config.InvalidConfigurationException
public void afterPropertiesSet()
throws org.alfresco.jlan.server.config.InvalidConfigurationException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanorg.alfresco.jlan.server.config.InvalidConfigurationExceptionprotected final javax.transaction.UserTransaction createTransaction()
protected AuthenticationComponent getAuthenticationComponent()
protected AuthenticationService getAuthenticationService()
protected TransactionService getTransactionService()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||