Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Upgrade and Migration Guide

- Previous: Web Server Features
- Next: Sun Deployment Descriptor: sun-web.xml

# Security Realms

The package names of the security realm implementations have been renamed from `com.iplanet.ias.security.auth.realm` in Application Server 7 to `com.sun.enterprise.security.auth.realm` in Application Server 8.1. Custom realms written using the `com.iplanet.*` classes must be modified.

The `com.sun.enterprise.security.AuthenticationStatus` class has been removed.

The `com.sun.enterprise.security.auth.login.PasswordLoginModule` `authenticate` method implementation has changed as follows.

    /**
        * Perform authentication decision.
        * <P> Note: AuthenticationStatus and AuthenticationStatusImpl
        * classes have been removed.
        * Method returns silently on success and returns a LoginException
        * on failure.
        *
        * @return void authenticate returns silently on successful authentication.
        * @throws LoginException on authentication failure.
        *
        */
    abstract protected void authenticate()
        throws LoginException;

For more information:

http://developers.sun.com/prodtech/appserver/reference/techart/as8_authentication/index.html

- Previous: Web Server Features
- Next: Sun Deployment Descriptor: sun-web.xml

- © 2010, Oracle Corporation and/or its affiliates