1 23 24 package com.sun.enterprise.security.jauth; 25 26 import java.util.Map ; 27 import javax.security.auth.Subject ; 28 import javax.security.auth.login.Configuration ; 29 import javax.security.auth.callback.CallbackHandler ; 30 31 52 public interface ClientAuthModule { 53 54 72 void initialize(AuthPolicy requestPolicy, 73 AuthPolicy responsePolicy, 74 CallbackHandler handler, 75 Map options); 76 77 98 void secureRequest(AuthParam param, 99 Subject subject, 100 Map sharedState) 101 throws AuthException; 102 103 122 void validateResponse(AuthParam param, 123 Subject subject, 124 Map sharedState) 125 throws AuthException; 126 127 141 void disposeSubject(Subject subject, Map sharedState) 142 throws AuthException; 143 } 144 | Popular Tags |