org.mule.api.security
Interface SecurityProvider

All Superinterfaces:
Initialisable, NameableObject, NamedObject
All Known Implementing Classes:
AbstractSecurityProvider, JaasSimpleAuthenticationProvider, PGPSecurityProvider, SpringProviderAdapter, TestMultiuserSecurityProvider, TestSingleUserSecurityProvider

public interface SecurityProvider
extends Initialisable, NameableObject

SecurityProvider is a target security provider that actually does the work of authenticating credentials and populating the Authentication object.


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Method Summary
 Authentication authenticate(Authentication authentication)
           
 SecurityContext createSecurityContext(Authentication auth)
           
 boolean supports(Class<?> aClass)
           
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 
Methods inherited from interface org.mule.api.NameableObject
setName
 
Methods inherited from interface org.mule.api.NamedObject
getName
 

Method Detail

authenticate

Authentication authenticate(Authentication authentication)
                            throws SecurityException
Throws:
SecurityException

supports

boolean supports(Class<?> aClass)

createSecurityContext

SecurityContext createSecurityContext(Authentication auth)
                                      throws UnknownAuthenticationTypeException
Throws:
UnknownAuthenticationTypeException


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