Package org.coweb.admin.acls

Examples of org.coweb.admin.acls.SessionAcls


  
    public SessionAcls getSessionAclsForUser(String username, String sessionid) {
     
      int acls = db.getSessionAclsForUser(username, sessionid);
      SessionAcls sessionAcls = new SessionAcls(acls);
     
      return sessionAcls;
    }
View Full Code Here


     * @param collab true is this session is collaborative.
     * @return true if the user is allowed to join the session.
     */
     public boolean canSubscribeToSession(String username, String key, boolean collab) {
      
       SessionAcls acls = admin.getSessionAclsForUser(username, key);
       if(acls == null)
         return false;
      
       return acls.canAccessSession();
     }
View Full Code Here

     * @param collab true is this session is collaborative.
     * @return true if the user is allowed to join the session.
     */
     public boolean canSubscribeToSession(String username, String key, boolean collab) {
      
       SessionAcls acls = admin.getSessionAclsForUser(username, key);
       if(acls == null)
         return false;
      
       return acls.canAccessSession();
     }
View Full Code Here

TOP

Related Classes of org.coweb.admin.acls.SessionAcls

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.