com.supermap.services.rest

Class SecurityControl

  • java.lang.Object
    • Authenticator
      • com.supermap.services.rest.SecurityControl


  • public class SecurityControl
    extends Authenticator
    

    ${services_rest_SecurityControl_Title}

    ${services_rest_SecurityControl_Description}

    • Constructor Summary

      Constructors 
      Constructor and Description
      SecurityControl(Context context)
      ${services_rest_SecurityControl_constructor_SecurityControl_Title}
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addVerifier(Verifier verifier)
      ${services_rest_SecurityControl_method_addAuthorizer_Title}
      protected boolean authenticate(Request request, Response response)
      ${services_rest_SecurityControl_method_authenticate_Title}
      java.util.List<Verifier> getVerifiers() 
      void removeVerifier(java.lang.Class verifierClz)
      Removes the appropriate type of security validator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityControl

        public SecurityControl(Context context)
        

        ${services_rest_SecurityControl_constructor_SecurityControl_Title}

        ${services_rest_SecurityControl_constructor_SecurityControl_Description}

        Parameters:
        context - ${services_rest_SecurityControl_constructor_SecurityControl_param_context}
    • Method Detail

      • addVerifier

        public void addVerifier(Verifier verifier)
        

        ${services_rest_SecurityControl_method_addAuthorizer_Title}

        ${services_rest_SecurityControl_method_addAuthorizer_Description}

        Parameters:
        verifier - ${services_rest_SecurityControl_method_addAuthorizer_param_authorizer}
      • authenticate

        protected boolean authenticate(Request request,
                           Response response)
        

        ${services_rest_SecurityControl_method_authenticate_Title}

        ${services_rest_SecurityControl_method_authenticate_Description}

        Parameters:
        request - ${services_rest_SecurityControl_method_authenticate_param_request}
        response - ${services_rest_SecurityControl_method_authenticate_param_response}
        Returns:
        ${services_rest_SecurityControl_method_authenticate_return}
      • removeVerifier

        public void removeVerifier(java.lang.Class verifierClz)
        
        Removes the appropriate type of security validator.
        Parameters:
        verifierClz -
      • getVerifiers

        public java.util.List<Verifier> getVerifiers()