Class SecuritySession

java.lang.Object
org.kuali.rice.kew.doctype.SecuritySession
All Implemented Interfaces:
Serializable

public class SecuritySession extends Object implements Serializable
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.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • SecuritySession

      public SecuritySession(String principalId)
  • Method Details

    • getPrincipalId

      public String getPrincipalId()
    • getPassesRoleSecurity

      public Map<String,Boolean> getPassesRoleSecurity()
    • setPassesRoleSecurity

      public void setPassesRoleSecurity(Map<String,Boolean> passesRoleSecurity)
    • getAuthenticatedWorkgroups

      public Map<String,Boolean> getAuthenticatedWorkgroups()
    • setAuthenticatedWorkgroups

      public void setAuthenticatedWorkgroups(Map<String,Boolean> authenticatedWorkgroups)
    • getDocumentTypeSecurity

      public Map<String,DocumentTypeSecurity> getDocumentTypeSecurity()
    • setDocumentTypeSecurity

      public void setDocumentTypeSecurity(Map<String,DocumentTypeSecurity> documentTypeSecurity)
    • getSecurityAttributeForClass

      public org.kuali.rice.kew.framework.document.security.DocumentSecurityAttribute getSecurityAttributeForClass(String className)
    • setSecurityAttributeForClass

      public void setSecurityAttributeForClass(String className, org.kuali.rice.kew.framework.document.security.DocumentSecurityAttribute securityAttribute)
    • getExtensionByName

      public ExtensionDefinition getExtensionByName(String extensionName)
    • setExtensionForName

      public void setExtensionForName(String extensionName, ExtensionDefinition extension)