001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.security.auth;
016    
017    import java.util.HashMap;
018    import java.util.Map;
019    
020    import javax.servlet.http.HttpServletRequest;
021    import javax.servlet.http.HttpServletResponse;
022    
023    /**
024     * @author Tomas Polesovsky
025     * @author Raymond Augé
026     */
027    public class AccessControlContext {
028    
029            public AuthVerifierResult getAuthVerifierResult() {
030                    return _authVerifierResult;
031            }
032    
033            public HttpServletRequest getRequest() {
034                    return _request;
035            }
036    
037            public HttpServletResponse getResponse() {
038                    return _response;
039            }
040    
041            public Map<String, Object> getSettings() {
042                    return _settings;
043            }
044    
045            public void setAuthVerifierResult(AuthVerifierResult authVerifierResult) {
046                    _authVerifierResult = authVerifierResult;
047            }
048    
049            public void setRequest(HttpServletRequest request) {
050                    _request = request;
051            }
052    
053            public void setResponse(HttpServletResponse response) {
054                    _response = response;
055            }
056    
057            private AuthVerifierResult _authVerifierResult;
058            private HttpServletRequest _request;
059            private HttpServletResponse _response;
060            private Map<String, Object> _settings = new HashMap<String, Object>();
061    
062    }