1
2
3
4
5
6
7
8
9
10
11 package org.mule.api.security;
12
13 import org.mule.api.MuleEvent;
14 import org.mule.api.endpoint.ImmutableEndpoint;
15 import org.mule.api.lifecycle.Initialisable;
16 import org.mule.api.lifecycle.InitialisationException;
17
18
19
20
21
22 public interface EndpointSecurityFilter extends Initialisable
23 {
24
25
26
27 void setSecurityManager(SecurityManager manager);
28
29 SecurityManager getSecurityManager();
30
31 String getSecurityProviders();
32
33 void setSecurityProviders(String providers);
34
35 void setEndpoint(ImmutableEndpoint endpoint);
36
37 ImmutableEndpoint getEndpoint();
38
39 void setCredentialsAccessor(CredentialsAccessor accessor);
40
41 CredentialsAccessor getCredentialsAccessor();
42
43 void authenticate(MuleEvent event)
44 throws SecurityException, UnknownAuthenticationTypeException, CryptoFailureException,
45 SecurityProviderNotFoundException, EncryptionStrategyNotFoundException, InitialisationException;
46 }