Top Description Fields Constructors Methods
org.eclipse.jetty.security

public Class RolePrincipal

extends Object
implements Principal, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, java.security.Principal
Imports
java.io.Serializable, java.security.Principal, javax.security.auth.Subject

RolePrincipal Represents a role. This class can be added to a Subject to represent a role that the Subject has.

Field Summary

Modifier and TypeField and Description
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public String
getName()

Implements java.security.Principal.getName.

Returns the name of this Principal.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_roleNameback to summary
private final String _roleName
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

RolePrincipalback to summary
public RolePrincipal(String name)

Method Detail

configureForSubjectback to summary
public void configureForSubject(Subject subject)
getNameback to summary
public String getName()

Implements java.security.Principal.getName.

Doc from java.security.Principal.getName.

Returns the name of this Principal.

Returns:String

the name of this Principal.

Annotations
@Override