Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2013 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.kuali.rice.kew.doctype;
Caches information about various security constraints for a single user which have already been analyzed and don't need to be analyzed again. For example, once it's been determined that a user is a member of a workgroup or a role, it is not necessary to requery the workgroup or role for information on whether that user is a member.

Kuali Rice Team (
public class SecuritySession implements Serializable {
	private static final long serialVersionUID = 2542191040889845305L;
	private final String principalId;
	public SecuritySession(String principalId) {
		this. = principalId;
	public String getPrincipalId() {
		return ;
	public void setPassesRoleSecurity(Map<StringBooleanpassesRoleSecurity) {
		this. = passesRoleSecurity;
	public void setAuthenticatedWorkgroups(Map<StringBooleanauthenticatedWorkgroups) {
		this. = authenticatedWorkgroups;
	public void setDocumentTypeSecurity(Map<StringDocumentTypeSecuritydocumentTypeSecurity) {
		this. = documentTypeSecurity;
        return this..get(className);
    public void setSecurityAttributeForClass(String classNameDocumentSecurityAttribute securityAttribute) {
    public ExtensionDefinition getExtensionByName(String extensionName) {
        return .get(extensionName);
    public void setExtensionForName(String extensionNameExtensionDefinition extension) {
New to GrepCode? Check out our FAQ X