org.gwe.utils.security
Class AccessControl

java.lang.Object
  extended by org.gwe.utils.security.AccessControl
All Implemented Interfaces:
java.io.Serializable

public class AccessControl
extends java.lang.Object
implements java.io.Serializable

Since:
Oct 27, 2008
Author:
Marco Ruiz
See Also:
Serialized Form

Constructor Summary
AccessControl()
           
AccessControl(AccountInfo account, java.util.List<Realm> realms)
           
AccessControl(AccountInfo account, Realm... realms)
           
 
Method Summary
static AccessControl createDefaultAC(ProtocolScheme scheme, java.lang.String host)
           
 Realm findMatchingRealm(ProtocolScheme scheme, java.lang.String host)
           
 AccountInfo getAccount()
           
 java.util.List<java.lang.String> getAccountIds()
           
 java.util.List<Realm> getRealms()
           
 void setAccount(AccountInfo account)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessControl

public AccessControl()

AccessControl

public AccessControl(AccountInfo account,
                     Realm... realms)

AccessControl

public AccessControl(AccountInfo account,
                     java.util.List<Realm> realms)
Method Detail

createDefaultAC

public static AccessControl createDefaultAC(ProtocolScheme scheme,
                                            java.lang.String host)

getAccount

public AccountInfo getAccount()

setAccount

public void setAccount(AccountInfo account)

getRealms

public java.util.List<Realm> getRealms()

findMatchingRealm

public Realm findMatchingRealm(ProtocolScheme scheme,
                               java.lang.String host)

getAccountIds

public java.util.List<java.lang.String> getAccountIds()


Copyright © 2007-2009. All Rights Reserved.