com.atlassian.user.impl.osuser
Class DefaultOSUAccessor

java.lang.Object
  extended bycom.atlassian.user.impl.osuser.DefaultOSUAccessor
All Implemented Interfaces:
com.opensymphony.user.ManagerAccessor, OSUAccessor, java.io.Serializable

public class DefaultOSUAccessor
extends java.lang.Object
implements java.io.Serializable, OSUAccessor

UserManager.OSUAccessor is a gateway that can be passed from the UserManager to any other object that allows priveleged callbacks.

See Also:
Serialized Form

Constructor Summary
DefaultOSUAccessor()
           
DefaultOSUAccessor(com.opensymphony.user.provider.AccessProvider accessProvider, com.opensymphony.user.provider.CredentialsProvider credentialsProvider, com.opensymphony.user.provider.ProfileProvider profileProvider)
           
 
Method Summary
 com.opensymphony.user.provider.AccessProvider getAccessProvider()
           
 com.opensymphony.user.provider.AccessProvider getAccessProvider(java.lang.String name)
          Return appropriate AccessProvider for entity.
 com.opensymphony.user.provider.CredentialsProvider getCredentialsProvider()
           
 com.opensymphony.user.provider.CredentialsProvider getCredentialsProvider(java.lang.String name)
          Return appropriate CredentialsProvider for entity.
 com.opensymphony.user.provider.ProfileProvider getProfileProvider()
           
 com.opensymphony.user.provider.ProfileProvider getProfileProvider(java.lang.String name)
          Return appropriate ProfileProvider for entity.
 com.opensymphony.user.UserManager getUserManager()
           
 void setAccessProvider(com.opensymphony.user.provider.AccessProvider accessProvider)
           
 void setCredentialsProvider(com.opensymphony.user.provider.CredentialsProvider credentialsProvider)
           
 void setProfileProvider(com.opensymphony.user.provider.ProfileProvider profileProvider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOSUAccessor

public DefaultOSUAccessor()

DefaultOSUAccessor

public DefaultOSUAccessor(com.opensymphony.user.provider.AccessProvider accessProvider,
                          com.opensymphony.user.provider.CredentialsProvider credentialsProvider,
                          com.opensymphony.user.provider.ProfileProvider profileProvider)
Method Detail

getUserManager

public com.opensymphony.user.UserManager getUserManager()
Specified by:
getUserManager in interface com.opensymphony.user.ManagerAccessor

getAccessProvider

public com.opensymphony.user.provider.AccessProvider getAccessProvider(java.lang.String name)
Return appropriate AccessProvider for entity.

Specified by:
getAccessProvider in interface com.opensymphony.user.ManagerAccessor

getCredentialsProvider

public com.opensymphony.user.provider.CredentialsProvider getCredentialsProvider(java.lang.String name)
Return appropriate CredentialsProvider for entity.

Specified by:
getCredentialsProvider in interface com.opensymphony.user.ManagerAccessor

getProfileProvider

public com.opensymphony.user.provider.ProfileProvider getProfileProvider(java.lang.String name)
Return appropriate ProfileProvider for entity.

Specified by:
getProfileProvider in interface com.opensymphony.user.ManagerAccessor

getAccessProvider

public com.opensymphony.user.provider.AccessProvider getAccessProvider()
Specified by:
getAccessProvider in interface OSUAccessor

getCredentialsProvider

public com.opensymphony.user.provider.CredentialsProvider getCredentialsProvider()
Specified by:
getCredentialsProvider in interface OSUAccessor

getProfileProvider

public com.opensymphony.user.provider.ProfileProvider getProfileProvider()
Specified by:
getProfileProvider in interface OSUAccessor

setAccessProvider

public void setAccessProvider(com.opensymphony.user.provider.AccessProvider accessProvider)
Specified by:
setAccessProvider in interface OSUAccessor

setCredentialsProvider

public void setCredentialsProvider(com.opensymphony.user.provider.CredentialsProvider credentialsProvider)
Specified by:
setCredentialsProvider in interface OSUAccessor

setProfileProvider

public void setProfileProvider(com.opensymphony.user.provider.ProfileProvider profileProvider)
Specified by:
setProfileProvider in interface OSUAccessor


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.