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 secureRequest(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.SECURE_REQUEST, args); }
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 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 secureRequest(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.SECURE_REQUEST, 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 validateResponse(AuthParam param, Subject subject, Map sharedState) throws AuthException { // invoke modules Object[] args = { param, subject, sharedState }; context.invoke(AuthContext.VALIDATE_RESPONSE, args); }
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 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 boolean managesSessions(Map sharedState) throws AuthException { // invoke modules Object[] args = { sharedState }; Object[] rValues = null; try { rValues = context.invoke(AuthContext.MANAGES_SESSIONS, args); } catch (AuthException ae) { // this new method may not be implemeneted // by old modules if (!(ae.getCause() instanceof NoSuchMethodException)) { throw ae; } } boolean rvalue = false; for (int i=0; rValues != null && i<rValues.length; i++) { if (rValues[i] != null) { boolean thisValue = ((Boolean) rValues[i]).booleanValue(); rvalue = rvalue | thisValue; } } return rvalue; } }
public boolean managesSessions(Map sharedState) throws AuthException { // invoke modules Object[] args = { sharedState }; Object[] rValues = null; try { rValues = context.invoke(AuthContext.MANAGES_SESSIONS, args); } catch (AuthException ae) { // this new method may not be implemeneted // by old modules if (!(ae.getCause() instanceof NoSuchMethodException)) { throw ae; } } boolean rvalue = false; for (int i=0; rValues != null && i<rValues.length; i++) { if (rValues[i] != null) { boolean thisValue = ((Boolean) rValues[i]).booleanValue(); rvalue = rvalue | thisValue; } } return rvalue; } }