JSPservletPkg
Class JSPloader.ProtectionDomainInfo

java.lang.Object
  |
  +--JSPservletPkg.JSPloader.ProtectionDomainInfo

class JSPloader.ProtectionDomainInfo
extends java.lang.Object

Maintain Protection Domains and CRL scheduled next update.


Field Summary
(package private)  boolean isChecked
          false if Directory server not available
(package private)  boolean isValid
          once a domain is invalid, no need to check again, then set to false
(package private)  JSPloader jl
          invoking JSPloader
(package private)  long nextCheck
          next check time in milliseconds since the epoch
(package private)  java.security.ProtectionDomain pd
          embedded ProtectionDomain
 
Constructor Summary
(package private) JSPloader.ProtectionDomainInfo(JSPloader jl, java.security.ProtectionDomain pd, long nextUpdate, boolean isValid, boolean isChecked)
          Constructor.
 
Method Summary
(package private)  boolean check()
          checks if the credential the Protection domain has been defined with are not revoked.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

jl

JSPloader jl
invoking JSPloader

pd

java.security.ProtectionDomain pd
embedded ProtectionDomain

nextCheck

long nextCheck
next check time in milliseconds since the epoch

isValid

boolean isValid
once a domain is invalid, no need to check again, then set to false

isChecked

boolean isChecked
false if Directory server not available
Constructor Detail

JSPloader.ProtectionDomainInfo

JSPloader.ProtectionDomainInfo(JSPloader jl,
                               java.security.ProtectionDomain pd,
                               long nextUpdate,
                               boolean isValid,
                               boolean isChecked)
Constructor.
Parameters:
jl - invoking JSPloader.
pd - Protection Domain.
nextUpdate - next check time in milliseconds since the epoch.
isValid - boolean false if domain certificate is invalid
isChecked - boolean false if domain certificate is unchecked
Method Detail

check

final boolean check()
checks if the credential the Protection domain has been defined with are not revoked.
Returns:
boolean false if revoked