| 1 |  |   | 
  | 2 |  |   | 
  | 3 |  |   | 
  | 4 |  |   | 
  | 5 |  |   | 
  | 6 |  |   | 
  | 7 |  |   | 
  | 8 |  |   | 
  | 9 |  |   | 
  | 10 |  |   | 
  | 11 |  |   | 
  | 12 |  |   | 
  | 13 |  |   | 
  | 14 |  |   | 
  | 15 |  |   | 
  | 16 |  |  package org.kuali.rice.kew.doctype; | 
  | 17 |  |   | 
  | 18 |  |  import java.io.Serializable; | 
  | 19 |  |  import java.util.HashMap; | 
  | 20 |  |  import java.util.Map; | 
  | 21 |  |   | 
  | 22 |  |  import org.kuali.rice.krad.UserSession; | 
  | 23 |  |   | 
  | 24 |  |   | 
  | 25 |  |   | 
  | 26 |  |   | 
  | 27 |  |   | 
  | 28 |  |   | 
  | 29 |  |   | 
  | 30 |  |   | 
  | 31 |  |   | 
  | 32 |  |   | 
  | 33 |  |  public class SecuritySession implements Serializable { | 
  | 34 |  |   | 
  | 35 |  |          private static final long serialVersionUID = 2542191040889845305L; | 
  | 36 |  |   | 
  | 37 |  |          private final UserSession userSession; | 
  | 38 | 0 |          private Map<String, Boolean> authenticatedWorkgroups = new HashMap<String, Boolean>(); | 
  | 39 | 0 |          private Map<String, Boolean> passesRoleSecurity = new HashMap<String, Boolean>(); | 
  | 40 |  |   | 
  | 41 | 0 |          private Map<String, DocumentTypeSecurity> documentTypeSecurity = new HashMap<String, DocumentTypeSecurity>(); | 
  | 42 |  |   | 
  | 43 | 0 |          public SecuritySession(UserSession userSession) { | 
  | 44 | 0 |                  this.userSession = userSession; | 
  | 45 | 0 |          } | 
  | 46 |  |   | 
  | 47 |  |          public UserSession getUserSession() { | 
  | 48 | 0 |                  return userSession; | 
  | 49 |  |          } | 
  | 50 |  |   | 
  | 51 |  |          public Map<String, Boolean> getPassesRoleSecurity() { | 
  | 52 | 0 |                  return passesRoleSecurity; | 
  | 53 |  |          } | 
  | 54 |  |   | 
  | 55 |  |          public void setPassesRoleSecurity(Map<String, Boolean> passesRoleSecurity) { | 
  | 56 | 0 |                  this.passesRoleSecurity = passesRoleSecurity; | 
  | 57 | 0 |          } | 
  | 58 |  |   | 
  | 59 |  |          public Map<String, Boolean> getAuthenticatedWorkgroups() { | 
  | 60 | 0 |                  return authenticatedWorkgroups; | 
  | 61 |  |          } | 
  | 62 |  |   | 
  | 63 |  |          public void setAuthenticatedWorkgroups(Map<String, Boolean> authenticatedWorkgroups) { | 
  | 64 | 0 |                  this.authenticatedWorkgroups = authenticatedWorkgroups; | 
  | 65 | 0 |          } | 
  | 66 |  |   | 
  | 67 |  |          public Map<String, DocumentTypeSecurity> getDocumentTypeSecurity() { | 
  | 68 | 0 |                  return documentTypeSecurity; | 
  | 69 |  |          } | 
  | 70 |  |   | 
  | 71 |  |          public void setDocumentTypeSecurity(Map<String, DocumentTypeSecurity> documentTypeSecurity) { | 
  | 72 | 0 |                  this.documentTypeSecurity = documentTypeSecurity; | 
  | 73 | 0 |          } | 
  | 74 |  |   | 
  | 75 |  |  } |