Class AbstractAuth

  • Direct Known Subclasses:
    AuthClassExtension

    public class AbstractAuth
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.sdase.commons.server.auth.config.AuthConfig authConfig  
      protected java.lang.String certificateLocation  
      protected boolean disableAuth  
      protected java.lang.String issuer  
      protected java.lang.String keyId  
      protected java.security.interfaces.RSAPrivateKey privateKey  
      protected java.lang.String privateKeyLocation  
      protected java.lang.String subject  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractAuth​(boolean disableAuth, java.lang.String keyId, java.lang.String issuer, java.lang.String subject, java.lang.String privateKeyLocation, java.lang.String certificateLocation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.sdase.commons.server.auth.config.KeyLocation createKeyLocation()  
      protected java.security.interfaces.RSAPrivateKey loadPrivateKey​(java.lang.String privateKeyLocation)  
      • Methods inherited from class java.lang.Object

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

      • disableAuth

        protected final boolean disableAuth
      • keyId

        protected final java.lang.String keyId
      • issuer

        protected final java.lang.String issuer
      • subject

        protected final java.lang.String subject
      • privateKey

        protected java.security.interfaces.RSAPrivateKey privateKey
      • privateKeyLocation

        protected final java.lang.String privateKeyLocation
      • certificateLocation

        protected final java.lang.String certificateLocation
      • authConfig

        protected org.sdase.commons.server.auth.config.AuthConfig authConfig
    • Constructor Detail

      • AbstractAuth

        public AbstractAuth​(boolean disableAuth,
                            java.lang.String keyId,
                            java.lang.String issuer,
                            java.lang.String subject,
                            java.lang.String privateKeyLocation,
                            java.lang.String certificateLocation)
    • Method Detail

      • loadPrivateKey

        protected java.security.interfaces.RSAPrivateKey loadPrivateKey​(java.lang.String privateKeyLocation)
      • createKeyLocation

        protected org.sdase.commons.server.auth.config.KeyLocation createKeyLocation()