Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wsrp.security
Class WSRPIdentityAsserterProviderImpl

    java.lang.Object
      com.bea.wsrp.security.WSRPIdentityAsserterProviderImpl

    public final class WSRPIdentityAsserterProviderImpl

extends Object

Asserts user identity for WSRP calls.

Constructor Summary
`WSRPIdentityAsserterProviderImpl()`

Method Summary
`CallbackHandler` | `assertIdentity(String type, Object token)` Asserts identity given a token that identifies the user.
`AppConfigurationEntry` | `getAssertionModuleConfiguration()` Return how to call the login module to complete identity assertion (where the identity asserter finds the user name and the authenticator puts the user and its groups into the subject).
`String` | `getDescription()` Returns the description
`IdentityAsserter` | `getIdentityAsserter()` Returns the identity asseter.
`AppConfigurationEntry` | `getLoginModuleConfiguration()` Return how to call the login module to perform authentication.
`PrincipalValidator` | `getPrincipalValidator()` Return an object that can validate principals (eg.
`void` | `initialize(ProviderMBean mbean, SecurityServices services)` Initializes this identity asserter
`void` | `shutdown()` Shuts down this identity asserter.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WSRPIdentityAsserterProviderImpl

    public WSRPIdentityAsserterProviderImpl()

Method Detail

### initialize

    public void initialize(ProviderMBean mbean,
                           SecurityServices services)

  Initializes this identity asserter

  Parameters
    `mbean` - holds the simple identity asserter's configuration data.
    `services` - The SecurityServices gives access to the auditor so that the provider can to post audit events.

### getDescription

    public String getDescription()

  Returns the description

  Returns
    description

### shutdown

    public void shutdown()

  Shuts down this identity asserter.

### getIdentityAsserter

    public IdentityAsserter getIdentityAsserter()

  Returns the identity asseter.

  Returns
    identity asserter

### assertIdentity

    public CallbackHandler assertIdentity(String type,
                                          Object token)
                                   throws IdentityAssertionException

  Asserts identity given a token that identifies the user.

  Parameters
    `type` - a string containing the token type
    `token` - an object containing the token that identifies the user.
  Returns
    a CallbackHandler that stores the username from the token.
  Throws
    `IdentityAssertionException` - if another token type is passed in or the token doesn't have the correct form.

### getLoginModuleConfiguration

    public AppConfigurationEntry getLoginModuleConfiguration()

  Return how to call the login module to perform authentication.

  Returns
    A null AppConfigurationEntry since the simple sample identity asserter is not an authenticator (thus doesn't have a login module).

### getAssertionModuleConfiguration

    public AppConfigurationEntry getAssertionModuleConfiguration()

  Return how to call the login module to complete identity assertion (where the identity asserter finds the user name and the authenticator puts the user and its groups into the subject).

  Returns
    A null AppConfigurationEntry since the simple sample identity asserter is not an authenticator (thus doesn't have a login module).

### getPrincipalValidator

    public PrincipalValidator getPrincipalValidator()

  Return an object that can validate principals (eg. users and groups) that this provider puts into the subject.

  Returns
    A null PrincipalValidator since the simple sample identity asserter is not an authenticator (thus doesn't put principals into the subject).

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved