Class SAMAuthContext

java.lang.Object
com.sun.xml.wss.provider.wsit.SAMAuthContext
All Implemented Interfaces:
jakarta.security.auth.message.config.ServerAuthContext, jakarta.security.auth.message.ServerAuth

public class SAMAuthContext extends Object implements jakarta.security.auth.message.config.ServerAuthContext
Required wrapper for custom ServerAuthModule
Author:
David Matejcek
  • Constructor Summary

    Constructors
    Constructor
    Description
    SAMAuthContext(CallbackHandler handler, jakarta.security.auth.message.module.ServerAuthModule serverAuthModule)
    Creates instance of this class and calls ServerAuthModule.initialize(jakarta.security.auth.message.MessagePolicy, jakarta.security.auth.message.MessagePolicy, CallbackHandler, java.util.Map)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cleanSubject(jakarta.security.auth.message.MessageInfo messageInfo, Subject subject)
     
    jakarta.security.auth.message.AuthStatus
    validateRequest(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.security.auth.message.ServerAuth

    secureResponse
  • Constructor Details

    • SAMAuthContext

      public SAMAuthContext(CallbackHandler handler, jakarta.security.auth.message.module.ServerAuthModule serverAuthModule) throws jakarta.security.auth.message.AuthException
      Creates instance of this class and calls ServerAuthModule.initialize(jakarta.security.auth.message.MessagePolicy, jakarta.security.auth.message.MessagePolicy, CallbackHandler, java.util.Map)
      Throws:
      jakarta.security.auth.message.AuthException
  • Method Details

    • validateRequest

      public jakarta.security.auth.message.AuthStatus validateRequest(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws jakarta.security.auth.message.AuthException
      Specified by:
      validateRequest in interface jakarta.security.auth.message.ServerAuth
      Throws:
      jakarta.security.auth.message.AuthException
    • cleanSubject

      public void cleanSubject(jakarta.security.auth.message.MessageInfo messageInfo, Subject subject) throws jakarta.security.auth.message.AuthException
      Specified by:
      cleanSubject in interface jakarta.security.auth.message.ServerAuth
      Throws:
      jakarta.security.auth.message.AuthException