KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > security > auth > Subject

javax.security.auth
Class Subject

java.lang.Object
  extended by javax.security.auth.Subject
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code, Principal, DomainCombiner

public static Object doAs(Subject subject,
                          PrivilegedAction action)
See Also:
SecurityException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Object doAs(Subject subject,
                          PrivilegedExceptionAction action)
                   throws PrivilegedActionException
See Also:
SecurityException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Object doAsPrivileged(Subject subject,
                                    PrivilegedAction action,
                                    AccessControlContext acc)
See Also:
SecurityException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Object doAsPrivileged(Subject subject,
                                    PrivilegedExceptionAction action,
                                    AccessControlContext acc)
                             throws PrivilegedActionException
See Also:
SecurityException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean equals(Object o)
See Also:
Hashtable, Object.hashCode(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Set<Principal> getPrincipals()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends Principal> Set<T> getPrincipals(Class<T> c)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Set<Object> getPrivateCredentials()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T> Set<T> getPrivateCredentials(Class<T> c)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Set<Object> getPublicCredentials()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T> Set<T> getPublicCredentials(Class<T> c)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Subject getSubject(AccessControlContext acc)
See Also:
NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int hashCode()
See Also:
Hashtable, Object.equals(java.lang.Object), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isReadOnly()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setReadOnly()
See Also:
SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Subject()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Subject(boolean readOnly,
               Set<? extends Principal> principals,
               Set<?> pubCredentials,
               Set<?> privCredentials)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags