public class GSSUtil extends Object
Constructor | Description |
---|---|
GSSUtil() |
Modifier and Type | Method | Description |
---|---|---|
static Subject |
createSubject(GSSName principals,
GSSCredential credentials) |
Use this method to convert a GSSName and GSSCredential into a
Subject.
|
public static Subject createSubject(GSSName principals, GSSCredential credentials)
principals
- a GSSName containing one or more mechanism specific
representations of the same entity. These mechanism specific
representations will be populated in the returned Subject's principal
set.credentials
- a GSSCredential containing one or more mechanism
specific credentials for the same entity. These mechanism specific
credentials will be populated in the returned Subject's private
credential set. Passing in a value of null will imply that the private
credential set should be left empty. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2000, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1