com.teamdev.jxbrowser.security
Interface Security

All Known Subinterfaces:
Browser
All Known Implementing Classes:
AbstractBrowser

public interface Security

Provides ability to register HttpSecurityHandler to receive and process any security problems such as Invalid Certificate error, Invalid Certificate Name, Invalid Certificate Date, Moving from a non-SSL to an SSL connection because of a redirect or The redirection requires user confirmation problems.


Method Summary
 HttpSecurityHandler getHttpSecurityHandler()
          Returns http security handler that allows processing any security problems or null if it's not present.
 void setHttpSecurityHandler(HttpSecurityHandler h)
          Sets the specified HTTP security handler that allows processing any security problems such as Invalid Certificate error, Invalid Certificate Name, Invalid Certificate Date, Moving from a non-SSL to an SSL connection because of a redirect or The redirection requires user confirmation problems.
 

Method Detail

setHttpSecurityHandler

void setHttpSecurityHandler(HttpSecurityHandler h)
Sets the specified HTTP security handler that allows processing any security problems such as Invalid Certificate error, Invalid Certificate Name, Invalid Certificate Date, Moving from a non-SSL to an SSL connection because of a redirect or The redirection requires user confirmation problems.

Parameters:
h - the specified HTTP security handler.
See Also:
getHttpSecurityHandler()

getHttpSecurityHandler

HttpSecurityHandler getHttpSecurityHandler()
Returns http security handler that allows processing any security problems or null if it's not present.

Returns:
the current http security handler that allows processing any security problems or null if it's not present
See Also:
setHttpSecurityHandler(HttpSecurityHandler)