|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.server.rconsole.AdminConfigProtection
public class AdminConfigProtection
Handles a protection definition.
| Constructor Summary | |
|---|---|
AdminConfigProtection()
Create a normal item for security check. |
|
AdminConfigProtection(String data)
Creates a protection from a string in the INI file. |
|
AdminConfigProtection(String[] data)
Creates a protection definition from a string array from a list box. |
|
AdminConfigProtection(String name,
String realm,
boolean doAuthenticate,
boolean allowBasic,
int sslRequired,
Hashtable groups)
Creates a resource from a string in the INI file that was previously in the resource definition. |
|
AdminConfigProtection(VirtualPanel vp)
Creates a protection resource from a panel. |
|
| Method Summary | |
|---|---|
static String |
checkOwnerSecurityGranted(AdminConfigProtection owner,
AdminConfigProtection item)
Checks two resources, an owner and a new item. |
String |
checkSecurityGranted(AdminConfigProtection item)
Checks two resources, an owner and a new item. |
String |
getListBoxString()
Gets the listbox string for this resource. |
String |
getName()
Gets the name of this access control. |
String |
getProtectionID()
Gets the protection ID. |
String |
getRealm()
Gets the realm string of this resource. |
AdminConfigSecureLogin |
getSecureLoginProfile()
Gets the secure login profile instance for this access control. |
String |
getSecureLoginProfileName()
Gets the SecureLogin profile name. |
AdminConfigUser |
getUserDefinition(String userID)
Gets a user configuration definition defined as member of a group for this protection. |
boolean |
hasDomain(String name)
Checks if a domain ID is used by this protection definition/access control. |
boolean |
hasGroups()
Checks if this protection has groups assigned to it. |
static boolean |
hasNoProtection(String realm,
boolean doAuthenticate,
boolean allowBasic,
int sslRequired,
Hashtable groups)
Checks if this protection has no migration protection. |
boolean |
isAuthenticationRequired()
Checks if authentication is required. |
boolean |
isBasicAllowed()
Checks if Basic authentication is allowed. |
boolean |
isClientCertificatePresentOnServerRequired()
Checks if client certificate is required for SSL. |
boolean |
isClientCertificateRequired()
Checks if client certificate is required for SSL. |
boolean |
isDomainAddressAllowed(SocketNameInterface sni)
Checks if a connection is allowed or denied depending on the domain specification. |
boolean |
isMigrationProtection(String realm,
boolean doAuthenticate,
boolean allowBasic,
int sslRequired,
Hashtable groups)
Checks if this protection matches a migration protection in order not to duplicate them. |
boolean |
isSSLRequired()
Checks if SSL is required. |
boolean |
isStrongEncryptionRequired()
Checks if strong SSL encryption is required. |
static void |
performListSelectionChange(VirtualPanel vp,
VirtualCListBox list,
int line,
boolean hasSelection,
Hashtable groups,
Hashtable domains)
Performs a list selection change in the resource definition panel. |
void |
resolveDomainReferences(Hashtable domains)
Resolves all references to domains. |
void |
setItem(IniFile ini)
Sets the item in the ini file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminConfigProtection(VirtualPanel vp)
public AdminConfigProtection(String[] data)
throws IOException
IOException - when the data doesn't have the correct format.
public AdminConfigProtection(String data)
throws IOException
IOException - when the data doesn't have the correct format.
public AdminConfigProtection(String name,
String realm,
boolean doAuthenticate,
boolean allowBasic,
int sslRequired,
Hashtable groups)
public AdminConfigProtection()
| Method Detail |
|---|
public static String checkOwnerSecurityGranted(AdminConfigProtection owner,
AdminConfigProtection item)
public String getName()
public static boolean hasNoProtection(String realm,
boolean doAuthenticate,
boolean allowBasic,
int sslRequired,
Hashtable groups)
public boolean isMigrationProtection(String realm,
boolean doAuthenticate,
boolean allowBasic,
int sslRequired,
Hashtable groups)
public void resolveDomainReferences(Hashtable domains)
public static void performListSelectionChange(VirtualPanel vp,
VirtualCListBox list,
int line,
boolean hasSelection,
Hashtable groups,
Hashtable domains)
public boolean isSSLRequired()
public boolean isStrongEncryptionRequired()
public boolean isAuthenticationRequired()
public boolean isBasicAllowed()
public boolean hasGroups()
public AdminConfigUser getUserDefinition(String userID)
public String checkSecurityGranted(AdminConfigProtection item)
public String getListBoxString()
public String getProtectionID()
public String getRealm()
public boolean hasDomain(String name)
public boolean isDomainAddressAllowed(SocketNameInterface sni)
public boolean isClientCertificateRequired()
public boolean isClientCertificatePresentOnServerRequired()
public String getSecureLoginProfileName()
public AdminConfigSecureLogin getSecureLoginProfile()
throws Exception
Exception - if the secure login profile cannot be found.public void setItem(IniFile ini)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||