KerberosPrincipal.h [plain text]
#include <Kerberos/Kerberos.h>
@interface KerberosPrincipal : NSObject
{
KLPrincipal principal;
}
- (id) initWithString: (NSString *) string;
- (id) initWithName: (NSString *) name
instance: (NSString *) instance
realm: (NSString *) realm;
- (id) initWithClientPrincipalFromCredentials: (cc_credentials_t) credentials;
- (id) initWithServicePrincipalFromCredentials: (cc_credentials_t) credentials;
- (void) dealloc;
- (BOOL) isTicketGrantingService;
- (NSString *) displayString;
- (NSString *) string;
- (NSArray *)componentsArray;
- (NSString *)realmString;
- (int) changePassword;
- (int) changePasswordWithOldPassword: (NSString *) oldPassword
newPassword: (NSString *) newPassword
rejected: (BOOL *) rejected
rejectionError: (NSMutableString *) rejectionError
rejectionDescription: (NSMutableString *) rejectionDescription;
- (int) setDefault;
- (int) destroyTickets;
- (int) renewTickets;
- (int) renewTicketsIfPossibleInBackground;
- (int) validateTickets;
- (int) getTickets;
- (int) getTicketsWithPassword: (NSString *) password
loginOptions: (KLLoginOptions) loginOptions
cacheName: (NSMutableString *) ioCacheName;
+ (int) getTickets;
@end