public class SecurityContextImpl extends java.lang.Object implements SecurityContext
| Constructor and Description |
|---|
SecurityContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRealmName()
This method gets the current user and its realm name.
|
java.lang.String |
getUsrName()
This method gets the current user and its principal name.
|
public java.lang.String getUsrName()
getUsrName in interface SecurityContextpublic java.lang.String getRealmName()
getRealmName in interface SecurityContextCopyright © 1996, 2024, Oracle and/or its affiliates.