1 |
/* AuthorizeCallback.java -- |
/* AuthorizeCallback.java -- |
2 |
Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
38 |
|
|
39 |
package javax.security.sasl; |
package javax.security.sasl; |
40 |
|
|
41 |
|
import java.io.Serializable; |
42 |
import javax.security.auth.callback.Callback; |
import javax.security.auth.callback.Callback; |
43 |
|
|
44 |
/** |
/** |
45 |
* This callback is used by {@link SaslServer} to determine whether one entity |
* This callback is used by {@link SaslServer} to determine whether one entity |
46 |
* (identified by an authenticated authentication ID) can act on behalf of |
* (identified by an authenticated authentication ID) can act on behalf of |
47 |
* another entity (identified by an authorization ID). |
* another entity (identified by an authorization ID). |
48 |
|
* |
49 |
|
* @since 1.5 |
50 |
*/ |
*/ |
51 |
public class AuthorizeCallback implements Callback |
public class AuthorizeCallback implements Callback, Serializable |
52 |
{ |
{ |
|
|
|
53 |
// Constants and variables |
// Constants and variables |
54 |
// ------------------------------------------------------------------------- |
// ------------------------------------------------------------------------- |
55 |
|
|
56 |
|
private static final long serialVersionUID = -2353344186490470805L; |
57 |
|
|
58 |
/** @serial The (authenticated) authentication id to check. */ |
/** @serial The (authenticated) authentication id to check. */ |
59 |
private String authenticationID = null; |
private String authenticationID = null; |
60 |
|
|