1 23 package com.sun.enterprise.security.auth; 24 25 29 30 public class AuthenticationStatusImpl implements AuthenticationStatus { 31 private String realmName; private String authMethod; private String principalName; private int status; 36 43 public AuthenticationStatusImpl(String principalName, String authMethod, 44 String realm, 45 int status) { 46 this.principalName = principalName; 47 this.authMethod = authMethod; 48 this.status = status; 49 this.realmName = realm; 50 } 51 52 56 public int getStatus() { 57 return status; 58 } 59 60 65 public byte[] getContinuationData() { 66 return new byte[0]; 67 } 68 69 74 public byte[] getAuthSpecificData() { 75 return new byte[0]; 76 } 77 78 83 public String getRealmName() { 84 return realmName; 85 } 86 87 92 public String getAuthMethod() { 93 return authMethod; 94 } 95 96 101 public String getPrincipalName() { 102 return principalName; 103 } 104 } 105 | Popular Tags |