| 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.quickserver.util.xmlreader.Secure
This class encapsulate the setting that help in configuring a secure socket based QuickServer. The example xml is
        ....
        <secure>
                <enable>true</enable>
                <load>true</load>
                <port></port>
                <protocol>TLS</protocol>
                <client-auth-enable>false</client-auth-enable> 
                <secure-store>
                        ....
                </secure-store>
        </secure>
        ....
 
TrustStoreInfo, 
KeyStoreInfo, 
SecureStore, 
Serialized Form| Constructor Summary | |
Secure()
 | 
|
| Method Summary | |
 boolean | 
getClientAuthEnable()
Returns whether the connections which are accepted must include successful client authentication.  | 
 boolean | 
getEnable()
Returns the Secure enable flag.  | 
 boolean | 
getLoad()
Returns the load flag for SSLContext.  | 
 int | 
getPort()
Returns the port for the QuickServer to listen on in secure mode.  | 
 java.lang.String | 
getProtocol()
Returns the protocol for the QuickServer to listen on in secure mode.  | 
 SecureStore | 
getSecureStore()
Returns SecureStore information.  | 
 boolean | 
isClientAuthEnable()
Returns whether the connections which are accepted must include successful client authentication.  | 
 boolean | 
isEnable()
Returns the Secure enable flag.  | 
 boolean | 
isLoad()
Returns the load flag for SSLContext.  | 
 void | 
setClientAuthEnable(boolean enable)
Sets whether the connections which are accepted must include successful client authentication.  | 
 void | 
setEnable(boolean enable)
Sets the Secure enable flag.  | 
 void | 
setLoad(boolean load)
Sets the load flag for SSLContext.  | 
 void | 
setPort(int port)
Sets the port for the QuickServer to listen on in secure mode.  | 
 void | 
setProtocol(java.lang.String protocol)
Sets the protocol for the QuickServer to listen on in secure mode.  | 
 void | 
setSecureStore(SecureStore secureStore)
Sets SecureStore information XML Tag: <secure-store></secure-store>  | 
 java.lang.String | 
toXML(java.lang.String pad)
Returns XML config of this class.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Secure()
| Method Detail | 
public void setEnable(boolean enable)
falsetrue | false
 If enable is set to true load is also set to true.
getEnable()public boolean getEnable()
setEnable(boolean)public boolean isEnable()
public void setLoad(boolean load)
falsetrue | false
getLoad()public boolean getLoad()
setLoad(boolean)public boolean isLoad()
public void setPort(int port)
port - to listen on.getPort()public int getPort()
setPort(int)public void setProtocol(java.lang.String protocol)
TLS
protocol - to listen on in secure mode.getProtocol()public java.lang.String getProtocol()
setProtocol(java.lang.String)public void setClientAuthEnable(boolean enable)
false
enable - client authentication enable flaggetClientAuthEnable()public boolean getClientAuthEnable()
setClientAuthEnable(boolean)public boolean isClientAuthEnable()
public void setSecureStore(SecureStore secureStore)
secureStore - SecureStore informationgetSecureStore()public SecureStore getSecureStore()
setSecureStore(org.quickserver.util.xmlreader.SecureStore)public java.lang.String toXML(java.lang.String pad)
  | 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||