CA Mobile App Services (CA MAS) Features

Fingerprint Sessions Lock

Support phone unlocking using fingerprint recognition.

A Modern Alternative

The Mobile SDK allows you to incorporate modern devices capabilities to lock and unlock using fingerprint recognition as an authentication alternative to using passwords.

A Modern Alternative

The Mobile SDK allows you to incorporate modern devices capabilities to lock and unlock using fingerprint recognition as an authentication alternative to using passwords.

Fast and Secure

The user’s fingerprint is compared against the image that is stored in the secure area on the chipset.

Fast and Secure

The user’s fingerprint is compared against the image that is stored in the secure area on the chipset.

Multiple users

Local device authentication using fingerprints can store multiple fingerprints, including the owner and people who the owner trusts.

Multiple users

Local device authentication using fingerprints can store multiple fingerprints, including the owner and people who the owner trusts.



CA Mobile SDK for iOS: Messaging

Implementation Highlights

The Mobile SDK supports session lock/unlock using device Fingerprint Session Lock and device Screen Lock with Pattern/PIN/Password. Because the app user can use one, both, or no locking method at all, you need to handle all of these scenarios. If the device is configured without any lock method, the Mobile SDK returns an error that device lock security is missing.

Code Sample

All of the backend complexity is abstracted away, so your interaction with the SDK looks simply like this:

Lock User Session

    // Lock the application whenever it is inactive.
@Override
protected void onPause() {
    MASUser currentUser = MASUser.getCurrentUser();
    if (currentUser != null) {
        currentUser.lockSession(null);
    }
    super.onPause();
}

Unlock User Session

A complete implementation of this workflow is provided in MASSessionUnlockActivity.

    // Unlock the application whenever it is active.
@Override
protected void onResume() {
    super.onResume();
    MASUser currentUser = MASUser.getCurrentUser();
    if (currentUser != null) {
        currentUser.unlockSession(getUnlockCallback());
    }
}

// Callback for unlockSession()
public MASSessionUnlockCallback<Void> getUnlockCallback() {
    return new MASSessionUnlockCallback<Void>() {
        @Override
        public void onSuccess(Void result) {
            // The session was successfully unlocked
        }

        @Override
        public void onError(Throwable e) {
            // Handle errors
        }

        @Override
        @TargetApi(23)
        public void onUserAuthenticationRequired() {
            // Handle user authentication
            launchKeyguardIntent();
        }
    };
}

protected int REQUEST_CODE = 0x1000;
    
// Launch the default Android lockscreen to authenticate the user
private void launchKeyguardIntent() {
    KeyguardManager keyguardManager = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE);
    Intent intent = keyguardManager.createConfirmDeviceCredentialIntent("Confirm your pattern",
            "Please provide your credentials.");
    if (intent != null) {
        startActivityForResult(intent, REQUEST_CODE);
    }
}

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == REQUEST_CODE) {
        if (resultCode == RESULT_OK) {
            // The session was successfully unlocked
        } else if (resultCode == RESULT_CANCELED) {
            // The Android lockscreen Activity was cancelled
        }
    }
    super.onActivityResult(requestCode, resultCode, data);
}

More code samples:

Contato
Fale conosco 0800 771 6350
Fale conosco

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required

connecting

We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing