01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.jetspeed.security;
18:
19: import org.apache.jetspeed.security.spi.GroupSecurityHandler;
20: import org.apache.jetspeed.security.spi.RoleSecurityHandler;
21: import org.apache.jetspeed.security.spi.SecurityMappingHandler;
22:
23: /**
24: * <p>
25: * Utility component used to configure the security component and provide access
26: * to the various security handlers.
27: * </p>
28: *
29: * @author <a href="mailto:dlestrat@apache.org">David Le Strat </a>
30: */
31: public interface SecurityProvider {
32: /**
33: * <p>
34: * Getter for the {@link AuthenticationProviderProxy}
35: * </p>
36: *
37: * @return The {@link AuthenticationProviderProxy}.
38: */
39: AuthenticationProviderProxy getAuthenticationProviderProxy();
40:
41: /**
42: * <p>
43: * Getter for the {@link RoleSecurityHandler}
44: * </p>
45: *
46: * @return The RoleSecurityHandler.
47: */
48: RoleSecurityHandler getRoleSecurityHandler();
49:
50: /**
51: * <p>
52: * Getter for the {@link GroupSecurityHandler}
53: * </p>
54: *
55: * @return The GroupSecurityHandler.
56: */
57: GroupSecurityHandler getGroupSecurityHandler();
58:
59: /**
60: * <p>
61: * Gettter for the {@link SecurityMappingHandler}
62: * </p>
63: *
64: * @return The SecurityMappingHandler.
65: */
66: SecurityMappingHandler getSecurityMappingHandler();
67:
68: }
|