13 Şubat 2020 Perşembe

JAAS Subject Sınıfı

Giriş
Şu satırı dahil ederiz.
import javax.security.auth.Subject;
Açıklaması şöyle.
Represents a group of related entities, such as people, organizations, or services with a set of security credentials. Once authenticated, a Subject is populated with associated identities, or Principals. The authorization actions will be made based on the Subject.
getPublicCredentials metodu
Örnek ver

getPrincipals metodu
Set<Principal> nesnesi döner. Principal yazısına bakabilirsiniz.

Örnek ver.

Hiç yorum yok:

Yorum Gönder