public AuthPolicy( int sourceAuthenticationType, boolean authenticateRecipient, boolean beforeContent ) { setAuthenticationType(sourceAuthenticationType); this.authenticateRecipient = authenticateRecipient; this.recipientBeforeContent = beforeContent; }
public void secureRequest(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.SECURE_REQUEST, args); }
public boolean isContentAuthRequired() { return ( this.isSourceAuthRequired() ? ( this.getSourceAuth() == SOURCE_AUTH_CONTENT ? true : false ) : false ); }
public void refresh() throws AuthException { synchronized (this) { ConfigParser nextParser; int next = this.epoch + 1; try { nextParser = ConfigFile.loadParser(parserClassName); } catch (IOException ioe) { throw new AuthException(ioe.toString()); } this.epoch = (next == 0 ? 1 : next); parser = nextParser; } }
public void setSenderAuth(boolean required) { if (required) { this.setSourceAuth(SOURCE_AUTH_SENDER); } else if (!isContentAuthRequired()) { this.setSourceAuth(SOURCE_AUTH_NONE); } }
public Object run() throws AuthException { invokePriv(methodName, args, rValues); return null; } });
public boolean isSenderAuthRequired() { return ( this.isSourceAuthRequired() ? ( this.getSourceAuth() == SOURCE_AUTH_SENDER ? true : false ) : false ); }
public void refresh() throws AuthException { synchronized (this) { ConfigParser nextParser; int next = this.epoch + 1; try { nextParser = ConfigFile.loadParser(parserClassName); } catch (IOException ioe) { throw new AuthException(ioe.toString()); } this.epoch = (next == 0 ? 1 : next); parser = nextParser; } }
public void validateResponse(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.VALIDATE_RESPONSE, args); }
public AuthPolicy( int sourceAuthenticationType, boolean authenticateRecipient, boolean beforeContent ) { setAuthenticationType(sourceAuthenticationType); this.authenticateRecipient = authenticateRecipient; this.recipientBeforeContent = beforeContent; }
public boolean isSenderAuthRequired() { return ( this.isSourceAuthRequired() ? ( this.getSourceAuth() == SOURCE_AUTH_SENDER ? true : false ) : false ); }
public void validateRequest(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.VALIDATE_REQUEST, args); }
public void setSourceAuth(int sourceAuthenticationType) { setAuthenticationType(sourceAuthenticationType); }
public void secureRequest(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.SECURE_REQUEST, args); }
public void setSourceAuth(int sourceAuthenticationType) { setAuthenticationType(sourceAuthenticationType); }
public void secureResponse(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.SECURE_RESPONSE, args); }
public void secureResponse(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.SECURE_RESPONSE, args); }
public void disposeSubject(Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { subject, sharedState }; context.invoke(AuthContext.DISPOSE_SUBJECT, args); }
public void disposeSubject(Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { subject, sharedState }; context.invoke(AuthContext.DISPOSE_SUBJECT, args); } }
public void disposeSubject(Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { subject, sharedState }; context.invoke(AuthContext.DISPOSE_SUBJECT, args); }