Class RadiusAuthDetector

    • Field Detail

      • DEFAULT_AUTH_PORT

        public static final int DEFAULT_AUTH_PORT
        Default radius authentication port
        See Also:
        Constant Field Values
      • DEFAULT_ACCT_PORT

        public static final int DEFAULT_ACCT_PORT
        Default radius accounting port
        See Also:
        Constant Field Values
      • DEFAULT_AUTH_TYPE

        public static final java.lang.String DEFAULT_AUTH_TYPE
        Default radius authentication type
        See Also:
        Constant Field Values
      • DEFAULT_USER

        public static final java.lang.String DEFAULT_USER
        Default user
        See Also:
        Constant Field Values
      • DEFAULT_PASSWORD

        public static final java.lang.String DEFAULT_PASSWORD
        Default password
        See Also:
        Constant Field Values
      • DEFAULT_SECRET

        public static final java.lang.String DEFAULT_SECRET
        Default secret
        See Also:
        Constant Field Values
      • DEFAULT_NAS_ID

        public static final java.lang.String DEFAULT_NAS_ID
        Default NAS_ID
        See Also:
        Constant Field Values
      • DEFAULT_TTLS_INNER_AUTH_TYPE

        public static final java.lang.String DEFAULT_TTLS_INNER_AUTH_TYPE
        Default inner auht protocol for ttls
        See Also:
        Constant Field Values
      • DEFAULT_INNER_IDENTITY

        public static final java.lang.String DEFAULT_INNER_IDENTITY
        Default inner identity
        See Also:
        Constant Field Values
    • Constructor Detail

      • RadiusAuthDetector

        public RadiusAuthDetector()
        Default constructor
      • RadiusAuthDetector

        protected RadiusAuthDetector​(java.lang.String serviceName,
                                     int port)
        Constructor for creating a non-default service based on this protocol
        Parameters:
        serviceName - a String object.
        port - a int.
    • Method Detail

      • setAuthPort

        public void setAuthPort​(int authport)

        setAuthPort

        Parameters:
        authport - a int.
      • getAuthPort

        public int getAuthPort()

        getAuthPort

        Returns:
        a int.
      • setAcctPort

        public void setAcctPort​(int acctport)

        setAcctPort

        Parameters:
        acctport - a int.
      • getAcctPort

        public int getAcctPort()

        getAcctPort

        Returns:
        a int.
      • setSecret

        public void setSecret​(java.lang.String secret)

        setSecret

        Parameters:
        secret - a String object.
      • getSecret

        public java.lang.String getSecret()

        getSecret

        Returns:
        a String object.
      • setAuthType

        public void setAuthType​(java.lang.String authType)

        setAuthType

        Parameters:
        authType - a String object.
      • getAuthType

        public java.lang.String getAuthType()

        getAuthType

        Returns:
        a String object.
      • getAuthenticator

        public net.jradius.client.auth.RadiusAuthenticator getAuthenticator()
      • setNasID

        public void setNasID​(java.lang.String nasid)

        setNasID

        Parameters:
        nasid - a String object.
      • getNasID

        public java.lang.String getNasID()

        getNasID

        Returns:
        a String object.
      • setUser

        public void setUser​(java.lang.String user)

        setUser

        Parameters:
        user - a String object.
      • getUser

        public java.lang.String getUser()

        getUser

        Returns:
        a String object.
      • setPassword

        public void setPassword​(java.lang.String password)

        setPassword

        Parameters:
        password - a String object.
      • getPassword

        public java.lang.String getPassword()

        getPassword

        Returns:
        a String object.
      • getTtlsInnerAuthType

        public java.lang.String getTtlsInnerAuthType()

        get

        Returns:
        a String object.
      • setTtlsInnerAuthType

        public void setTtlsInnerAuthType​(java.lang.String ttlsInnerAuthType)

        setTtlsInnerAuthType

        Parameters:
        ttlsInnerAuthType - a String object.
      • getInnerIdentity

        public java.lang.String getInnerIdentity()

        getInnerIdentity

        Returns:
        a String object.
      • setInnerIdentity

        public void setInnerIdentity​(java.lang.String innerIdentity)

        setInnerIdentity

        Parameters:
        innerIdentity - a String object.