Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.security
Class JaasSecurityContext.UserPasswordCallbackHandler

    java.lang.Object
      org.modeshape.jcr.security.JaasSecurityContext.UserPasswordCallbackHandler

All Implemented Interfaces:
  CallbackHandler

Enclosing class:
  JaasSecurityContext

    public static final class JaasSecurityContext.UserPasswordCallbackHandler

extends Object
implements CallbackHandler

A simple `callback handler` implementation that attempts to provide a user ID and password to any callbacks that it handles.

Constructor Summary
`JaasSecurityContext.UserPasswordCallbackHandler(String userId, char[] password)`

Method Summary
`void` | `handle(Callback[] callbacks)`

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

Constructor Detail

### JaasSecurityContext.UserPasswordCallbackHandler

    public JaasSecurityContext.UserPasswordCallbackHandler(String userId,
                                                           char[] password)

Method Detail

### handle

    public void handle(Callback[] callbacks)
                throws UnsupportedCallbackException,
                       IOException

  Specified by:
    `handle` in interface `CallbackHandler`
  Throws:
    `UnsupportedCallbackException`
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.