public class AdminConfigResource extends VirtualComponentAdapter implements Cloneable
ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_QUESTION, ICON_WARNING, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES
Constructor and Description |
---|
AdminConfigResource(String[] data)
Creates a resource from a string array from a list box.
|
AdminConfigResource(String[] data,
Hashtable<String,AdminConfigProtection> protections,
IniFile iniSettings)
Creates a resource from a string array from a list box.
|
AdminConfigResource(String name,
String data,
Hashtable<String,AdminConfigProtection> protections,
IniFile iniSettings)
Creates a resource from a string in the INI file.
|
AdminConfigResource(VirtualPanel vp)
Creates a resource from a panel.
|
Modifier and Type | Method and Description |
---|---|
static String |
checkOwnerSecurityGranted(AdminConfigResource owner,
AdminConfigResource item)
Checks two resources, an owner and a new item.
|
boolean |
doesCGIExist()
Checks if the CGI resource really is defined in server.ini.
|
boolean |
doesFileResourceExist()
Checks if the file resource really exists for a file resource (parsed or not).
|
boolean |
doesResourceBelongToGroups()
Checks if this resource has any active groups with users attached to it.
|
String |
getClientCertificateAccessControlID()
Checks if client certificate present on server is required for SSL
or if a client certificate might be used for revocation.
|
String |
getDescription()
Gets the description.
|
String |
getFileName()
Gets the file name or class name.
|
String |
getListBoxString()
Gets the listbox string for this resource.
|
String |
getName()
Gets the name of the resource.
|
String |
getRealm()
Gets the realm string of this resource.
|
String |
getRealmOrUnknown()
Gets the realm string of this resource.
|
se.entra.phantom.server.rconsole.WebResourceSettings |
getResourceSettings()
Gets the settings for this resource.
|
AdminConfigSecureLogin |
getSecureLoginProfile()
Gets the secure login profile instance for this access control.
|
AdminConfigUser |
getUserDefinition(String userID)
Gets a user configuration definition defined as member of a group for this resource.
|
boolean |
hasProtection(String noAccess)
Checks if the resource belongs to at least one group.
|
boolean |
isAppletRedirectionEnabled()
Checks if applet redirection is enabled.
|
boolean |
isAuthenticationRequired()
Checks if authentication is required.
|
boolean |
isBasicAllowed()
Checks if Basic authentication is allowed.
|
boolean |
isCGIResource()
Checks if this is a CGI resource.
|
boolean |
isClientCertificateRequired()
Checks if client certificate is required for SSL.
|
boolean |
isDirectory()
Checks if it is a file resource and a directory reference.
|
boolean |
isDocumentRootReference()
Checks if this is a reference to the root directory.
|
boolean |
isDocumentUnparsed()
Checks if the resource is an unparsed file system type.
|
boolean |
isDomainAddressAllowed(SocketNameInterface sni)
Checks if a connection is allowed or denied depending on the domain specification.
|
boolean |
isFile()
Checks if it is a file resource and a file reference (parsed, application or normal).
|
boolean |
isFileNameEmpty()
Checks if the file name is empty and this is a file resource (parsed or not).
|
boolean |
isFileResource()
Checks if it is a file resource (parsed or not).
|
boolean |
isFileSystemJarResource()
Checks if this resource is a Jar file system resource.
|
boolean |
isLoadBalanced()
Checks if the resource is load balanced.
|
boolean |
isLoadBalancedOnConcurrentUsers()
Checks if this resource is based on Application (concurrent user count).
|
boolean |
isRedirectionResource()
Checks if it's a redirection.
|
boolean |
isRemoteApplicationResource()
Checks if this is a Remote Application resource (RAPP).
|
boolean |
isServerApplicationResource()
Checks if this is a Server Application resource.
|
boolean |
isSSLRequired()
Checks if SSL is required.
|
boolean |
isStrongEncryptionRequired()
Checks if strong SSL encryption is required.
|
boolean |
isWEBResource()
Checks if this is a WEB Application resource.
|
boolean |
isWebServerProxyResource()
Checks if this resource is of Web Server Proxy type.
|
void |
setItem(IniFile ini)
Sets the item in the ini file.
|
onAction, onAction, onAction, onCheckedChange, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange, onSelectionChanged
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelClosing, onPanelCreate, onPanelDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPageActivated, onPanelClose, onPanelClosing, onPanelCreate, onPanelDestroy
public AdminConfigResource(VirtualPanel vp)
public AdminConfigResource(String[] data) throws IOException
IOException
- when the data doesn't have the correct format.public AdminConfigResource(String[] data, Hashtable<String,AdminConfigProtection> protections, IniFile iniSettings) throws IOException
IOException
- when the data doesn't have the correct format.public AdminConfigResource(String name, String data, Hashtable<String,AdminConfigProtection> protections, IniFile iniSettings) throws IOException
IOException
- when the data doesn't have the correct format.public static String checkOwnerSecurityGranted(AdminConfigResource owner, AdminConfigResource item)
public boolean isFileResource()
public boolean isLoadBalancedOnConcurrentUsers()
public boolean isDocumentUnparsed()
public boolean isServerApplicationResource()
public boolean isCGIResource()
public boolean isWEBResource()
public boolean isRemoteApplicationResource()
public boolean isRedirectionResource()
public boolean doesCGIExist()
public String getName()
public boolean doesFileResourceExist()
public boolean isFileNameEmpty()
public String getFileName()
public boolean isFile()
public boolean isDirectory()
public boolean isDocumentRootReference()
public AdminConfigSecureLogin getSecureLoginProfile() throws Exception
Exception
- if the secure login profile cannot be found.public boolean isSSLRequired()
public boolean isStrongEncryptionRequired()
public boolean isAuthenticationRequired()
public boolean isBasicAllowed()
public boolean hasProtection(String noAccess)
public boolean doesResourceBelongToGroups()
public String getDescription()
public boolean isLoadBalanced()
public boolean isAppletRedirectionEnabled()
public AdminConfigUser getUserDefinition(String userID)
public String getListBoxString()
public String getRealm()
public String getRealmOrUnknown()
public boolean isDomainAddressAllowed(SocketNameInterface sni)
public boolean isClientCertificateRequired()
public String getClientCertificateAccessControlID()
public void setItem(IniFile ini)
public boolean isFileSystemJarResource()
public boolean isWebServerProxyResource()
public se.entra.phantom.server.rconsole.WebResourceSettings getResourceSettings()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.