org.mule.tck.security
Class TestMultiuserSecurityProvider

java.lang.Object
  extended by org.mule.security.AbstractSecurityProvider
      extended by org.mule.tck.security.TestSingleUserSecurityProvider
          extended by org.mule.tck.security.TestMultiuserSecurityProvider
All Implemented Interfaces:
Initialisable, NameableObject, NamedObject, SecurityProvider

public class TestMultiuserSecurityProvider
extends TestSingleUserSecurityProvider

A security provider which holds authentications for multiple users concurrently.


Field Summary
 
Fields inherited from class org.mule.tck.security.TestSingleUserSecurityProvider
logger, PROPERTY_FAVORITE_COLOR, PROPERTY_NUMBER_LOGINS
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
TestMultiuserSecurityProvider()
           
 
Method Summary
 Authentication authenticate(Authentication authentication)
           
protected  void doInitialise()
           
 
Methods inherited from class org.mule.security.AbstractSecurityProvider
createSecurityContext, getName, getSecurityContextFactory, initialise, setName, setSecurityContextFactory, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMultiuserSecurityProvider

public TestMultiuserSecurityProvider()
Method Detail

doInitialise

protected void doInitialise()
                     throws InitialisationException
Overrides:
doInitialise in class AbstractSecurityProvider
Throws:
InitialisationException

authenticate

public Authentication authenticate(Authentication authentication)
                            throws SecurityException
Specified by:
authenticate in interface SecurityProvider
Overrides:
authenticate in class TestSingleUserSecurityProvider
Throws:
SecurityException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.