View Javadoc

1   /*
2    * Apache License
3    * Version 2.0, January 2004
4    * http://www.apache.org/licenses/
5    *
6    * Copyright 2008 by chenillekit.org
7    *
8    * Licensed under the Apache License, Version 2.0 (the "License");
9    * you may not use this file except in compliance with the License.
10   * You may obtain a copy of the License at
11   *
12   * http://www.apache.org/licenses/LICENSE-2.0
13   */
14  
15  package org.chenillekit.access;
16  
17  /**
18   *
19   * @version $Id: WebSessionUser.java 333 2008-11-19 16:26:03Z mlusetti $
20   */
21  public interface WebSessionUser
22  {
23  	/**
24  	 * get the role ids.
25  	 *
26  	 * @return role ids
27  	 */
28  	int getRoleWeight();
29  
30  	/**
31  	 * get the group names.
32  	 *
33  	 * @return group names
34  	 */
35  	String[] getGroups();
36  }