javax.security.auth.message.MessagePolicy Java Examples
The following examples show how to use
javax.security.auth.message.MessagePolicy.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SimpleClientAuthModule.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see ClientAuthModule#initialize(javax.security.auth.message.MessagePolicy, javax.security.auth.message.MessagePolicy, javax.security.auth.callback.CallbackHandler, java.util.Map) */ public void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options) throws AuthException { this.requestPolicy = requestPolicy; this.responsePolicy = responsePolicy; this.handler = handler; this.options = options; }
Example #2
Source File: ClientAuthModule.java From Tomcat8-Source-Read with MIT License | 4 votes |
@SuppressWarnings("rawtypes") // JASPIC API uses raw types void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options) throws AuthException;
Example #3
Source File: ServerAuthModule.java From Tomcat8-Source-Read with MIT License | 4 votes |
@SuppressWarnings("rawtypes") // JASPIC API uses raw types void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options) throws AuthException;
Example #4
Source File: TesterServerAuthModuleA.java From Tomcat8-Source-Read with MIT License | 4 votes |
@Override public void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, @SuppressWarnings("rawtypes") Map options) throws AuthException { // NO-OP }
Example #5
Source File: DoNothingServerAuthModule.java From piranha with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, @SuppressWarnings("rawtypes") Map options) throws AuthException { this.handler = handler; }
Example #6
Source File: CustomSAM.java From eplmp with Eclipse Public License 1.0 | 4 votes |
@Override public void initialize(MessagePolicy messagePolicy, MessagePolicy messagePolicy1, CallbackHandler callbackHandler, Map map) throws AuthException { this.callbackHandler = callbackHandler; }
Example #7
Source File: TomEESecurityServerAuthModule.java From tomee with Apache License 2.0 | 4 votes |
@Override public void initialize(final MessagePolicy requestPolicy, final MessagePolicy responsePolicy, final CallbackHandler handler, final Map options) throws AuthException { this.handler = handler; }
Example #8
Source File: TheServerAuthModule.java From tomee with Apache License 2.0 | 4 votes |
@Override public void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, @SuppressWarnings("rawtypes") Map options) throws AuthException { this.handler = handler; }