Class MSISDN

  • All Implemented Interfaces:
    LoginModule

    public class MSISDN
    extends AMLoginModule
    MSISDN Authentication module retrieves the device's msisdn number and the Wireless gateway sending the request from the ServletRequest. If the values cannot be retrieved then callbacks to get msisdn number and wap gateway are sent back to the client. The WAP Gateway is validated against a list of valid gateways in the gateway list attribute. If the gateway list attribute is empty then all gateways will trusted , if it is "none" then no gateways will be trusted and if specific values are specified only those gateways will be trusted. Once the gateway is validated the msisdn number is searched for in the repository. This module is written to lookup the msisdn number in LDAP and return the user ID which has the msisdn number.
    • Constructor Detail

      • MSISDN

        public MSISDN()
    • Method Detail

      • init

        public void init​(Subject subject,
                         Map sharedState,
                         Map options)
        Retrieves the service schema attributes for the module and initializes the configuration, including locale and getting the resource bundle.
        Specified by:
        init in class AMLoginModule
        Parameters:
        subject - Subject to be authenticated.
        sharedState - State shared with other configured LoginModules.
        options - Options specified in the login Configuration for this particular LoginModule.