KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > security > UMOEndpointSecurityFilter


1 /*
2  * $Id: UMOEndpointSecurityFilter.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.umo.security;
12
13 import org.mule.umo.UMOEvent;
14 import org.mule.umo.endpoint.UMOImmutableEndpoint;
15 import org.mule.umo.lifecycle.Initialisable;
16
17 /**
18  * <code>UMOEndpointSecurityFilter</code> is a base filter for secure filtering of
19  * inbound and outbout event flow
20  *
21  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
22  * @version $Revision: 3798 $
23  */

24 public interface UMOEndpointSecurityFilter extends Initialisable
25 {
26     /**
27      * @param manager
28      */

29     void setSecurityManager(UMOSecurityManager manager);
30
31     UMOSecurityManager getSecurityManager();
32
33     String JavaDoc getSecurityProviders();
34
35     void setSecurityProviders(String JavaDoc providers);
36
37     void setEndpoint(UMOImmutableEndpoint endpoint);
38
39     UMOImmutableEndpoint getEndpoint();
40
41     void setCredentialsAccessor(UMOCredentialsAccessor accessor);
42
43     UMOCredentialsAccessor getCredentialsAccessor();
44
45     void authenticate(UMOEvent event)
46         throws SecurityException JavaDoc, UnknownAuthenticationTypeException, CryptoFailureException,
47         SecurityProviderNotFoundException, EncryptionStrategyNotFoundException;
48 }
49
Popular Tags